ArtichOwO
2837b240e9
[mpy] Added sys module
...
Removed useless "path" and "argv"
2021-10-15 14:46:39 +02:00
ArtichautCosmique
0906dc919b
[mpy/kandinsky] Fix draw_string() on new line + good colors ( #47 )
...
* [mpy/kandinsky] Use good colors
* [kandinsky/context_text] Avoid returning to pos x=0 on new line, use arg's x coordinate instead
2021-10-11 20:25:03 +02:00
Laury
f9a123cc08
[mpy/ulab] Added support of from and to bytes array methods
2021-09-28 20:50:34 +02:00
ArtichautCosmique
0a5e9e0889
[apps/code][mpy][makefile] Fix size error on n0100 ( #30 )
2021-09-26 20:37:56 +02:00
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
Laury
74c500df01
[code/ulab] removed unnecessary module utils
2021-09-05 16:57:50 +02:00
Lauryy06
3a4e33a1a7
Merge pull request #2 from ArtichOwO/uLab
2021-09-01 18:03:06 +02:00
Laury
d90af0323e
Merge omega-dev into upsilon dev
2021-08-31 23:03:30 +02:00
Laury
210a83b04d
[python/kandinsky] Added get_palette() function
2021-08-31 16:17:36 +02:00
Laury
fb4fc4862d
[python] Enable operator overload
2021-08-31 15:48:11 +02:00
Laury
7c1dc4d5c3
[python] merge '6fcab395' and fix a bug in fill_polygon()
2021-08-30 19:40:30 +02:00
Laury
6fcab3952f
[python] Add some useful functions in kandinsky
2021-07-08 22:34:43 +02:00
ArtichOwO
24f3ccf007
Removed username from "uname()", and "getlogin()" now uses "Ion::username()"
2021-06-29 20:41:12 +02:00
ArtichOwO
25b74ea2f8
Removed "Omega or Epsilon" check
2021-06-29 20:40:19 +02:00
ArtichOwO
837fcd9bcc
[MPY/MOD/ULAB] Added N100 compatibility
...
N100:
- doesn't have Scipy;
- uses function pointers
2021-06-23 23:08:46 +02:00
ArtichOwO
b0befbdbc5
[MPY/MOD] Added uLab
2021-06-23 22:40:41 +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
Maxime FRIESS
b795834c63
Merge branch 'omega-dev' into IonToolboxEpsilon
2021-03-15 21:23:35 +01:00
Joachim LF
b2e2f3c5a6
[Code] Added ion keys submenu
2021-03-15 20:10:54 +01:00
M4x1m3
134456267b
Merge branch 'master' of https://github.com/Lauryy06/epsilon into Lauryy06-master
2021-03-15 19:50:10 +01:00
Maxime FRIESS
20d7094352
Merge branch 'omega-dev' into DrawStringFont
2021-03-15 19:31:16 +01:00
Laury
297fbd3c00
[python] Add a draw_line function in kandinsky
2021-03-11 19:47:22 +01:00
Joachim LF
8feb8e3ea2
[Python/kandinsky] Added font constant
2021-03-08 18:03:15 +01:00
Joachim LF
7b57f31fbf
[Python/kandinsky] Added in draw_string choice of font
2021-03-08 17:56:49 +01:00
M4x1m3
6628b54218
[py] Fixed Illegal Instruction when building in debug
2021-02-15 14:56:41 +01:00
Joachim LF
9b17d1b882
[Update] Epsilon 15.3.1
2021-01-21 19:56:06 +01:00
Maxime FRIESS
f202a4f902
[mpy/files] Fixed append implementation ( #434 )
2020-12-10 21:30:54 +01:00
Joachim Le Fournis
36742789b0
[py] Support round on int
2020-11-30 14:01:12 +01:00
Quentin Guidée
1347b1a20c
[upstream] Update
2020-11-27 13:23:07 +01:00
Joachim Le Fournis
bd5cdb0f65
[py] Support round on int
2020-11-23 12:12:46 +01:00
Émilie Feral
7acec88006
[python] Port: we used the wrong variable
...
Found by clang-analyzer
2020-11-05 10:28:24 +01:00
Hugo Saint-Vignes
7e5ddcd36b
[python/turtle] Prevent position overflow from turtle
...
Change-Id: Ieb8a7b64bab1ce6fac23ca4c8dcb43467b8d4d5c
2020-11-04 15:33:01 +01:00
Hugo Saint-Vignes
70a628f2c8
[apps] Fix Python assert crash on malloc free
...
Change-Id: I48f86422f7d6af5227e2556e6ef531dfad696da4
2020-11-04 15:30:53 +01:00
Hugo Saint-Vignes
641186d89c
[python] Accept "grey" color
...
Change-Id: Ia9b70eb3b4205ae9571eb4269410c30cfbdd1214
2020-11-04 15:07:20 +01:00
Hugo Saint-Vignes
e27c668c40
[apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
...
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Quentin Guidée
3c9bf7456e
Merge branch 'omega-hotfix' into omega-dev
2020-10-18 09:59:17 +02:00
Quentin Guidée
e8b86ca6a1
[upstream] Update
2020-10-10 02:28:33 +02:00
Gabriel Ozouf
7dcf1662b0
[python/helpers] Change interrupt check delay
...
Keyboard interruption used to be checked once every 20000 calls to
micropython_port_vm_hook_loop. However, if costly functions were
executed in between calls to this method, the delay for activating
interruptions would increase.
Now, keyboard interruption is checked after a fixed amount of time has
passed. This way, if the process waits a long time between two calls
to micropython_port_vm_hook_loop, it is still interrupted in a timely
manner.
Change-Id: I37ca3bd4a996fa086078f504340dd857526e356a
2020-08-31 15:32:02 +02:00
Gabriel Ozouf
34ebf1e6e0
[python/kandinsky] Remove additional interrupt
...
Additional checks for interruptions were making the kandinsky module
slower.
/!\ Some scripts are now very difficult to interrupt
Change-Id: I4c18273d8895deaac68084411a52556c8459d52b
2020-08-31 15:32:02 +02:00
Jean-Baptiste Boric
43376996a1
[python] Add RTC functions in time module
2020-08-16 15:49:40 +02:00
Hugo Saint-Vignes
7eb694822d
[python] Add magenta color
...
Change-Id: I7a5e12f6f3d79da802149a6aeef88387941ccdd8
2020-08-11 17:08:23 +02:00
M4x1m3
c5500eee06
[mpy/os] Removes useless file
2020-07-23 11:12:31 +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
f65881420c
[mpy/file] Fixed concurency issues
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