To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1241
1240  |  1242
Subject: 
Re: Battery status
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 26 Sep 2001 20:35:24 GMT
Viewed: 
2614 times
  
Hallo all

can i check the battery status directly in NQC without connecting  the • PC.
Can i use a trick to get the voltage

In NQC version 2.3r1 (and probably higher), using the RIS2.0 firmware, you • can
use

x = BatteryLevel();

to set variable 'x' equal to the battery level in millivolts.

Thanks, it works.


Can i use a trick to get the batterylevel on a Cybermaster( without
connecting  the PC)

br
Kalle



Message is in Reply To:
  Re: Battery status
 
Kalle - (...) In NQC version 2.3r1 (and probably higher), using the RIS2.0 firmware, you can use x = BatteryLevel(); to set variable 'x' equal to the battery level in millivolts. Cheers, JP (23 years ago, 22-Sep-01, to lugnet.robotics.rcx.nqc)

4 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