Closed gilbertohasnofb closed 1 year ago
- is there a size limit for a Python script to be suitable for EuroPi?
The Pico has 264kB of SRAM, and 2MB of on-board flash memory, however Micropython leaves you with about 1MB flash memory. The EuroPi + ssd1306 libraries takes about 30k, so those are your memory constraints.
- must the whole Python script be written as a single file or can it use local modules and packages?
The firmware uses MicroPython which behaves just like Python and allows importing of packages.
- can the script make use of locally saved files, e.g. a .csv file?
Yep! We use this functionality in our Save/Load State functionality [docs | code]
does it support scripts that use Python's Standard Library?
Yes, anything that MicroPython supports can be used in your script.
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
I would suggest taking a look at the user contributed scripts to get a sense of what can be done with the EuroPi: https://github.com/Allen-Synthesis/EuroPi/tree/main/software/contrib
@awonak Thank you so much for your detailed answer, this is super useful! I really appreciate it.
Closed?
Question
Hi, I’m interested in getting an EuroPi but I have some questions about it. In particular:
.csv
file?Many thanks in advance!