EEPROM Full... What can I do?
koolitude
Posts: 37
I'm using a BS2 for my application.· but it seems that my project requires more memory than my BS2 actually can provide...
What can I do? Thanks.
What can I do? Thanks.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Below please find the code I'm using... this one is already 'downsized' a bit... so it does not use up all the memory... however, I'm planning to add some more code into it...
btw, let me tell you what I'm trying to do... I'm indeed modifying the Wheel_Motion.bs2 (the program found in the Digital Encoders kit)... I added some codes for reading a compass and performing directional adjustment according to the compass reading.·
What I would like to add is some more codes to perform tilt·compensation for my compass.· I'm worrying if there will be enough memory for my project... cuz the current program has used up quite a lot of memory already.
Thank you very much for your suggestions.
Also try using aliases to preserve your registers (scratch memory) space:
Example:
tabby·· VAR···· cat···················· ' Create alias for cat
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR