FaustinM
2f3339dff7
Removed a modified file from pull request
2021-09-12 00:15:55 +02:00
FaustinM
48a0da8a95
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
2021-09-12 00:06:44 +02:00
FaustinM
3460e9ffd8
Merge remote-tracking branch 'origin/upsilon-dev' into upsilon-dev-get-battery-data
2021-09-11 21:16:23 +02:00
ArtichOwO
24f3ccf007
Removed username from "uname()", and "getlogin()" now uses "Ion::username()"
2021-06-29 20:41:12 +02:00
FaustinM
cf9142b5a2
Add "ion.battery()" for obtain the current voltage of the battery
...
Ion.battery() return a float with the current battery voltage
TODO : Update the translation of the toolbox (only FR and EN currently)
2021-06-23 16:57:42 +02:00
ArtichOwO
4c29b05b53
[MPY/MOD/OS] Added "name" attribute, "getlogin()" function and "username" key in "uname()"
...
"os.name" returns either "Omega" (only if OMEGA_VERSION is defined) or "Epsilon"
"os.getlogin()" returns the calculator owner username
"os.uname()" returns an object which has now the "username" attribute
2021-06-21 19:34:26 +02:00
M4x1m3
14a3ea51c4
[mpy/os] listdir
2020-07-21 22:27:04 +02:00
M4x1m3
18ccc0c771
[mpy/os] rename
2020-07-21 22:27:04 +02:00
M4x1m3
8eeae5f161
[mpy/os] Added remove
2020-07-21 22:27:04 +02:00
M4x1m3
2dce8a1343
[mpy/os] uname
2020-07-21 22:27:00 +02:00
M4x1m3
b9a6298ffa
[mpy] Added os module
2020-07-21 18:00:12 +02:00