A tiny Elixir/AtomVM demo that renders something simple on an SPI LCD using:
- atomvm/atomgl
- atomvm/avm_scene
- Supported displays
- Target board: Piyopiyo PCB with Seeed XIAO-ESP32S3
| Function | XIAO-ESP32S3 pin | ESP32-S3 GPIO |
|---|---|---|
| SCLK | D8 | 7 |
| MISO | D9 | 8 |
| MOSI | D10 | 9 |
| LCD CS | — | 43 |
| LCD D/C | D2 | 3 |
| LCD RST | D1 | 2 |
Build a custom AtomVM image with AtomGL and flash it to the device:
bash scripts/atomvm-esp32.sh build-erase-flash --port /dev/ttyACM0 --target esp32s3Flash this Elixir app to the device:
mix deps.get
mix do clean + atomvm.esp32.flash --port /dev/ttyACM0Monitor the device in another terminal:
bash scripts/atomvm-esp32.sh monitor --port /dev/ttyACM0