View Single Post
  #1   Spotlight this post!  
Unread 24-08-2008, 13:45
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Serial communication help

Hello. I am new to the programing this year, so I thought I would try to do some before competition time. We are hopefully showing off last year's robot at homecomming. To make it more interesting, I ordered a chip called the Speakjet which can make the robot speak. All I have to do is send messages to its serial pin with the number of the sound it needs to make. I would like to use one of the digital I/O pins instead of the program port as I only need one data lien and a ground. With a stamp, I would just use the SEROUT command and specify the pin number. However, I have no idea how to make the IFI controler do the same thing.
Ideally, I could send it the words to say via the program port and a terminal app on my laptop, but I kind of think that might be a little difficult. Thanks in advance.

P.S. I though it would be interesting to give the robot the voice of the W.O.P.R. from the war games movie. Then it cam roll up to the head of the chess club and say "Greetings professor. How about a nice game of chess?" Just like in the movie.