Thread: Save a variable
View Single Post
  #8   Spotlight this post!  
Unread 23-04-2005, 08:30
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: EEPROM Lifetimes

Quote:
Originally Posted by Astronouth7303
I would say to save it if the main battery voltage dips below a certain point. As long as the backup is installed, you should be OK with this.
I wouldn't recommend this. If your battery dies while writing to EEPROM you could corrupt it. Using the voltage dropping as a trigger will greatly increase the odds that you're trying to write as the power dies, obviously. Plus, if you suddenly cause a large current drain on your robot (for example, at the beginning of the match with both sticks forward), you could end up trigger ing your write routine, which personally I wouldn't want running at all during a match in case something goes wrong with it and because it wouldn't get the same level of testing as the rest of your code.