2022-01-07, 06:13 PM
Dear rastam4n,
Thanks for the confirmation about JLX LCD working with ESP32 on SPI.
The idea is to use the hat code by Sean (https://github.com/pypilot/pypilot/tree/master/hat) which seems to already support the esp32 through micropython.
I have flashed a generic esp32 with micropython (esp32-20210902-v1.17.bin) and uploaded Sean's code on it (make clean followed by make upload) after modifying the MPY_CROSS location to fit my own system.
I had to comment out line 13 within wifi_esp32.py (#station.wifi_ps(network.WIFI_PS_MAX_MODEM) # not sure this saves any power!!) as wifi_ps method was reported to be unknown.
Unfortunately, I am currently stuck with the missing ugfx module : I may need to compile and upload it but I am not sure how to execute this... Would somemone have an idea ?
Best regards,
Damien.
Thanks for the confirmation about JLX LCD working with ESP32 on SPI.
The idea is to use the hat code by Sean (https://github.com/pypilot/pypilot/tree/master/hat) which seems to already support the esp32 through micropython.
I have flashed a generic esp32 with micropython (esp32-20210902-v1.17.bin) and uploaded Sean's code on it (make clean followed by make upload) after modifying the MPY_CROSS location to fit my own system.
I had to comment out line 13 within wifi_esp32.py (#station.wifi_ps(network.WIFI_PS_MAX_MODEM) # not sure this saves any power!!) as wifi_ps method was reported to be unknown.
Unfortunately, I am currently stuck with the missing ugfx module : I may need to compile and upload it but I am not sure how to execute this... Would somemone have an idea ?
Best regards,
Damien.