mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
Ion.battery_level() return a int with the current battery level Ion.battery_ischarging() return a bool with the current battery charging state bugfix for upsilon
7 lines
206 B
C
7 lines
206 B
C
#include <py/obj.h>
|
|
|
|
mp_obj_t modion_keyboard_keydown(mp_obj_t key_o);
|
|
mp_obj_t modion_battery();
|
|
mp_obj_t modion_battery_level();
|
|
mp_obj_t modion_battery_ischarging();
|
|
extern const mp_obj_type_t file_type; |