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 / 1228
  Battery status
 
Hello, can i check the battery status directly in NQC without connecting the PC. Can i use a trick to get the voltage Br Kalle (23 years ago, 14-Sep-01, to lugnet.robotics.rcx.nqc)
 
  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)
 
  Re: Battery status
 
(...) Here's a quick little program that will tell you. Make sure it's the 2.x firmware. ---8<--- task main() { while (true) { SetUserDisplay(BatteryLevel(), 3); } } ---8<--- Dean (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
 
  Re: Battery status
 
Hallo all (...) PC. (...) can (...) Thanks, it works. Can i use a trick to get the batterylevel on a Cybermaster( without connecting the PC) br Kalle (23 years ago, 26-Sep-01, to lugnet.robotics.rcx.nqc)

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