SPI ESP32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
striker
Posts: 1
Joined: Sun Feb 16, 2020 11:54 am

SPI ESP32

Post by striker » Sun Feb 16, 2020 12:20 pm

Hi,
I'm trying to run simple display code on this esp32 board
board:https://github.com/Xinyuan-LilyGO/TTGO-T-Display
code: https://github.com/russhughes/st7789_mpy


it works if I run the script from uPyCraft but it's not working if I just power up the device.

I'm sure that the code is working - backlight is lighting up and I'd added some debug strings

I uploaded the code here https://drive.google.com/file/d/1a6u3Ns ... HjY_kKHr0p

User avatar
jimmo
Posts: 1440
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: SPI ESP32

Post by jimmo » Sun Feb 16, 2020 11:45 pm

Is the code in main.py (or imported and run from main.py)?

Probably the best thing to try is to add some print() statements to the code, copy the files onto the filesystem, open up the REPL, then hit Ctrl-D and you should see the code running.

Post Reply