|
|
 | | 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 (24 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
| | |  | | color-coded (by target) HTML NQC API documentation
|
| I created color-coded (by target) HTML documentation for the API part of the NQC documentation. I also generated 5 index pages: 1. Master Index: all functions and values, color-coded by target 2. Cybermaster only index 3. RCX only index 4. RCX2 only (...) (24 years ago, 24-Sep-01, to lugnet.robotics.rcx.nqc)
| | |  | | Execution order.
|
| Does anyone know why a second IF statement in a while(true) loop wont execute? (24 years ago, 24-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 (24 years ago, 22-Sep-01, to lugnet.robotics.rcx.nqc)
| | |  | | 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 (24 years ago, 14-Sep-01, to lugnet.robotics.rcx.nqc)
| |