Commit Graph

4 Commits

Author SHA1 Message Date
Léa Saviot
6ccd0c1c55 [python] Fixed the Python stack length computation.
On the device, the stack is stored in reverse order, but it might not be
the case on other platforms, which changes stack length computation.

Change-Id: I0218224a77465b9672f137771c00f734fdfaea64
2017-11-22 09:53:34 +01:00
Léa Saviot
a9f4da92c0 [code/python] Fixed the Kandinsky module in Python.
User can draw on the 320*220 drawing screen.

Change-Id: I25034b05f21aacc35608358fdb7a4d9924dd22e8
2017-11-21 17:12:38 +01:00
Léa Saviot
b73170b77b [code] Print errors in the Python console.
Change-Id: If3a096ee46105229b6c4c77906826e78666cdc11
2017-11-17 14:05:23 +01:00
Léa Saviot
5de4b5cd67 [code] Each script has a name, stored in the accordeon buffer.
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.

Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
2017-11-17 11:59:50 +01:00