Shop OBEX P1 Docs P2 Docs Learn Events
RF ID Reader / EMIC Text to Speech — Parallax Forums

RF ID Reader / EMIC Text to Speech

DrunkenPirateDrunkenPirate Posts: 1
edited 2006-03-01 04:55 in Robotics
Hello,
Im trying to create a device that reads RF ID's, has an assosiated name with the unique ID's, and then using that name and the text to speech, have it say "Hello *" where * is the name that is assosiated with the RF ID.

I have the part where you scan the card, and it returns your name in the debug window, but I cannot get it to say the name. I am using the code found on this page: http://www.hvwtech.com/products_resources.asp?CatID=112&SubCatID=192&SubSubCatID=0&ProductID=480

to get the ID, and the code on this page http://www.hvwtech.com/products_resources.asp?CatID=163&SubCatID=164&SubSubCatID=0&ProductID=352

to "say" the name. The thing is, I cannot get the text to speech to say a VAR. So basically I am asking for a code example that does what Im asking, or how I can have the text to speech say a variable.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-01 04:55
    Have you tried the code at the following web page?· It has examples of reading the information from DATA statements, which is what you will need.· You can't fit a name in a VAR, you would need an array and the concept is the same.

    http://www.parallax.com/detail.asp?product_id=30006


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.