|
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
|
|
Message has 2 Replies: | | 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)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|