Thread: Save a variable
View Single Post
  #4   Spotlight this post!  
Unread 16-04-2005, 12:11
ConKbot of Doom ConKbot of Doom is offline
Team Alumni
FRC #1184 (Cobra Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Maryland
Posts: 153
ConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura about
Re: EEPROM Lifetimes

Quote:
Originally Posted by RyanMcE
As far as I know (not an expert by any means), most EEPROMs are good for at least a million write cycles. So don't go writing to it every cycle, but every second should be fine.
Ok lets do the math, 1,000,000/(38cycles/sec*3600 seconds/hr)=7.3 hours. not a lot of time.

Once per second gives 277 hours, longer, probably longer than you will need for the robot. But depending on the variable, it could be longer.

How often does the variable change? if it is not that often, you could detect when it changes, and then save it.
__________________
2005 Philly #1 seeded team, highest average points, and semi-finalists
Thanks to 103 and 484 for being alliance mates.