Add more python functions in ion module

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
This commit is contained in:
FaustinM
2021-09-12 00:06:44 +02:00
parent 3460e9ffd8
commit 48a0da8a95
17 changed files with 48 additions and 3 deletions

View File

@@ -116,4 +116,4 @@ mp_obj_t modos_listdir(void) {
}
return list;
}
}