SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
Loading...
Searching...
No Matches
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.
 
uint16_t hub_battery_get_current (void)
 Retrieve the battery current.
 

Detailed Description

API for the hub battery.

Author
Makoto Shimojima