Shop OBEX P1 Docs P2 Docs Learn Events
emic eeprom room — Parallax Forums

emic eeprom room

frosliefroslie Posts: 67
edited 2005-07-19 09:17 in BASIC Stamp
I am using an Emic text-to-speech. I need to use the EEPROM on a BS2e as efficiently as possible. The text strings seem to eat the space very rapidly in the code.

Is there any way around this? If I convert all the characters to the hexidecimal representation - is this worth it or is there a better, less time-consuming method?

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-19 03:38
    You need to send text to the Emic, so there is little you can do. You might look into the Emic's ability to use abbreviations, but heed the warnings in the documentation abou their use (you cannot recover the Emic's abbreviation memory). Since the BS2e has mulitple banks, you could store your strings in a separate bank and jump over to it to do your speech output; this would leave your main slot relatively free for core program code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • frosliefroslie Posts: 67
    edited 2005-07-19 03:50
    I do not fully understand how to utilize the BS2e multiple banks. Is there any documentation you can suggest I look through?

    thank you
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-19 03:55
    Hello,

    ·· This link might get you started:· http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2005-07-19 09:17
    Don't forget that when you burn abbreviations into the Emic, they are permanent (even if you delete them, they still take up the space)-

    How is speech part of your project? I used scratch pad ram to store strings read into the stamp, then sent them out to the Emic. Each new string over wrote the old- of course my project had input from another source...

    There is quite a lenghty list of abbreviations already in the Emic as well....

    Ryan
Sign In or Register to comment.