Subject:
|
store variables in RAM after reset
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 15 Apr 1997 18:52:24 GMT
|
Original-From:
|
Man On Kung <mkung@eecs.^SayNoToSpam^uic.edu>
|
Viewed:
|
1410 times
|
| |
| |
Hi guys,
I'm new to the interactive C. Does anyone know how to declare an
array of variables which can be changed by the program and stored in
the RAM and their values stay the same even after reset?
Second, I'm aware of something called the persistent variable as
mentioned in the manual. It seems they are useless because nothing
can change its value after it's being downloaded, not even the
program itself, right? Why not use #define make up some constants
instead? Can anyone explain its use?
Man On
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|