Emic Text-to-speech
Skip
Posts: 3
Anyone know of a source of additional info on this chip; possibly sample BS2 listing?
Thanks!
Thanks!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
As an admitted newbie to PBASIC and Stamps, I practice the LBSA (Learn By Stumbling Around) method of education.
I'm trying to figure out how to pass a variable to the Emic chip. I can get the chip to speak text strings but what I want is to be able to have it announce the value of a constantly changing variable (the distance being returned by an ultrasonic transducer).
Any pointers would be appreciated.
Thanks again.
You can insert a value as text into a string by using the DEC modifier.· For example:
Say_Temp:
· SEROUT Tx, Baud, [noparse][[/noparse]Say, "The current temperature is ", DEC tempF, " degrees.", EOM]
· RETURN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 4/14/2005 2:15:07 PM GMT
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
My students really enjoyed the show-and-tell.· I let them modify the code and those·middle school boys were quick to test and point out that the pronunciation of various profanities was clear but not with the right street inflection. At least they are learning something in the process.
Thanks for the out loud laugh.
Jack