Subject:
|
Re: battery life indicator
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 3 Jul 2000 10:35:19 GMT
|
Viewed:
|
1386 times
|
| |
| |
if((BATTERY/0x0016)<700) dlcd_show(LCD_BATTERY_X);
I always put this line on my programs.
BATTERY/0x0016 gives the value in V*100 of all batteries open circuit voltage.
<700 is the limit for rotation sensors to work (all the other sensors have
lower limts) approximatelly 1.2V per battery
dlcd_show(LCD_BATTERY_X) lights up the display of dead battery.
|
|
Message is in Reply To:
| | battery life indicator
|
| Hello, Is there a way to find out the battery life on the RCX in legOS? I checked this group and the documentation, and I can't find this info. Thanks, Nils (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|