Edit DAT
donde
Posts: 51
I would like to edit a DAT block with numbers in it, during run time. The numbers are a string. Then reboot, using the new numbers. Is this possible at all?
donde
donde
Comments
-Phil
donde
Only other way I can think of (VERY crippled way to do it):
keep the prop connected to your PC send the numbers you want to change to the PC
comunicate between the terminalprogram and propellertool to paste the new numbers into sourcecode
and load up to propeller-chip again. Like already mentioned very crippled way to do so.
best regards
Stefan
If you can't use the I2C due to a pair of pull up resistors, then how does the Propeller load it's program when you start it up?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lt's not particularly silly, is it?
donde
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!
Some of my objects:
MCP3X08/4 ADC Driver - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library - Don't make strings the bane of the Propeller, bend them to your will!
Thanks for your idea to use Memory Storage Management object. My program has to use the DAT block. I only need to write 5 numbers as a string to the EEPROM. The numbers replace what was there before. I know the start address of the EEPROM where the numbers reside. This only happens upon my request, and very infrequently.
So, I think I'll first try the Basic 12C object, and see what happens.
donde
http://forums.parallax.com/forums/default.aspx?f=25&m=219237
It's actually part of a sticky thread about Education Kits at the top of the forum.
Jim C.