SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
|
APIs for battery. More...
Functions | |
uint16_t | hub_battery_get_voltage (void) |
Retrieve the battery voltage. More... | |
uint16_t | hub_battery_get_current (void) |
Retrieve the battery current. More... | |
APIs for battery.
uint16_t hub_battery_get_current | ( | void | ) |
Retrieve the battery current.
uint16_t hub_battery_get_voltage | ( | void | ) |
Retrieve the battery voltage.