SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
Functions
battery.h File Reference

API for the hub battery. More...

Go to the source code of this file.

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...
 

Detailed Description

API for the hub battery.

Author
Makoto Shimojima