Thread: new to EEPROM
View Single Post
  #1   Spotlight this post!  
Unread 21-05-2007, 13:42
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
new to EEPROM

hey everyone....i'm going to be the team programmer next year. so far i can do the major robot functions (driving, solenoids, etc) and i'm working on gyro code as well as camera code. i have a few questions about the EEPROM. i have kevin's code, and i understand the concept and all, but what actually gets written to the eeprom when i use the write functions? cas i assign a variable that gest written? can i store a series of values to one of the 16 slots (i think its 16...)? or, could i even store a function? and for the camera code, i know how to assign the RGB values to track in the header file, but i also know that the code can get values from the eeprom...how do i save the values there? i noticed that the eeprom_write function in the code saves an unsigned character....so i can only save one byte of data per slot? i'm confused about all of this...any answers would be helpful

Thanks

~Tseres
__________________