|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: who's going to use eprom
EEPROM is perfect for control loop constants. You can hook up a controller to the OI to update a constant (say with a joystick wheel), and then press a button to "save" the data.
Functionally, you can think of EEPROM as a "hard drive" for your robot. Whatever you put in there stays even after you power off. But, like a hard drive, you are limited in space (though honestly there's plenty for most uses), and reading and writing is a bit slower than to working memory. |
|
#17
|
|||||
|
|||||
|
Re: who's going to use eprom
Quote:
IIRC, when you declare a variable as "rom", it is still stored in EEPROM, but the location is allocated by the linker. When you use Kevin's library, you choose the location itself. Data is never stored in the program memory (flash). Also, "rom" variables are reset to default values when the program is downloaded. Meaning you probably shouldn't be mixing the "rom" keyword and Kevin's code. If you're really interested in the details, experiment. Look at the list file after playing with a rom variable. And yes, you can store to a rom variable. Last edited by Astronouth7303 : 09-02-2007 at 00:54. Reason: Open mouth, insert foot. |
|
#18
|
|||
|
|||
|
Re: who's going to use eprom
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who's going to Waterloo? | Francis-134 | Regional Competitions | 13 | 23-03-2005 09:25 |
| Who's Going to Drexel?!?!?! | fred | Regional Competitions | 23 | 30-03-2004 17:35 |
| Who's going where? | meaubry | General Forum | 6 | 02-11-2002 15:22 |
| Kickoff--who's going?? | archiver | 2001 | 18 | 23-06-2002 22:08 |
| Who's going to Philly? | archiver | 1999 | 6 | 23-06-2002 22:00 |