PDA

View Full Version : Please Help...add an EEProm to my project...24LC32A...



miniBot
02-02-2007, 01:30 AM
I have found some help, but still don't have a clear understanding of it...

I want to add a 24LC32A to my BS2 project...I want to write/store Text for the Text-2-Speech and LCD to the
external EEprom and be able to call that text to display on the LCD or T2S...Thanx!

Mike Green
02-02-2007, 01:42 AM
There's a complete worked example for using an EEPROM with a BS2 in the StampWorks manual that you can download from the Parallax website, around page 179 (www.parallax.com/detail.asp?product_id=27220 (http://www.parallax.com/detail.asp?product_id=27220)).

miniBot
02-02-2007, 01:59 AM
Found it...on page 199...Thanx!

I am still a little lost...sorry for not getting it, but I was wondering if someone can help me understand it more...

I am still at a lost as far as how to assign an address, for example if I want to wire Hello to the EEProm, so starting
at add 0 hello will take 0 - 5, 5 8bit blocks ? Would I have to lay out all of my text and fig. out the address on my own ?
Also, how to I read back a chunk of text like, "Hello how are you today ?" with a var and then output that whole string to the LCD or Text-2-Speech ?
Do I have to use end of text markers like 00 or something...a small simple code will help...Thank you for all your support...

Basically I wanted to write one program to write all the data to the eeprom once and then one program that will stay on the BS2 that will
just read and perform other tasks...

If I can get a small code sample that can help with that I would appreciate it...

Zoot
02-02-2007, 03:24 AM
Try these threads for BS2p and BS2 examples:

http://forums.parallax.com/showthread.php?p=624374

http://forums.parallax.com/showthread.php?p=466264

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST