|
Re: EEPROM Code
THANK YOU!!!!!!!!!
(Bows and kisses Kevin's feet)
The possibilities are so good.
P.S. Do you know if this will work on the VEXtroller?
P.P.S: Did I say thak you?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Rather than Double Post)
How does data need to be formatted when you pass it to the EEPROM_Write() function? Can you send variables by name?
Could you call this function using your printf/serial driver. For instance, type "Field Side: Left," and then have this set a variable (such as "rss" - robot start side") equal to 1 (for instance). And then have the handler write to the EEPROM so that when the robot is turned on again, it knows what side it is on without a switch.
Also, I am assuming that the read time is negligable compared to the write time (I.E. one does not need to woory about avoiding interrupts when reading?)
__________________
Team 1097 -- Site 3 Engineering ~~~~~~~~~~~~~~~~~~~~ 2003 Sacramento Rookie All Star 2003 Silicon Valley Rookie All Star 2004 Sacramento Engineering Inspiration Award 2004 Sacramento Visualization Award 2004 Outstanding Volunteer Award (G. Glasser) 2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist
2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist
Last edited by CJO : 11-10-2005 at 20:00.
|