MP-Maix
- internal micropython IDE - https://github.com/robert-hh/Micropython-Editor
- os.listdir()
- pye("hello.py")
- print("hello maixpy")
- ctrl+s and enter to save file, ctrl+q to quit
- import hello to run file
- exec file
with open("hello.py") as f:
exec(f.read())
Demo code
Sensor and LCD
import sensor
import image
import lcd
lcd.init()
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.run(1)
while True:
img=sensor.snapshot()
lcd.display(img)