To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1171
1170  |  1172
Subject: 
battery life indicator
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 16 Jun 2000 20:55:59 GMT
Viewed: 
1081 times
  
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



Message has 2 Replies:
  Re: battery life indicator
 
(...) All you can figure out is an estimate of the power supply voltage, which I'd guess doesn't correlate all that robustly to battery life. -Kekoa (24 years ago, 17-Jun-00, to lugnet.robotics.rcx.legos)
  Re: battery life indicator
 
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 (...) (24 years ago, 3-Jul-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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR