Closed brianwyld closed 9 months ago
Update :
Update for button (as only the one on IO21 is usable) : to get the 'irq' callback you need to use esp-idf-4.4.1 or higher, as v4.4 has a bug on the esp32s3 SOC (see thread here https://github.com/orgs/micropython/discussions/12215)
Our project aims to use the T5-4.7-S3, with a micropython application. I have flashed the ESP32 with a build from the latest micropython, to which I added the epaper drivers and a micropython wrapper (which is still a work in progress as I attempt to get the driver to work without resetting the card)
However, I cannot get 2 basic features to work:
cannot get interrupt callback for button presses (IO0/IO21) The micropython code runs, I can read the button values correctly (1 when released, 0 when pressed), but the callback on rising or falling edge never happens, for IO0 or IO21. The same code on a different ESP32 board works correctly. See; https://github.com/orgs/micropython/discussions/12215 Anyone got this to work? btw, why is the STR_IO0 connected twice to the ESP32? (IO0 and IO46)?
cannot get SD card driver to mount the SD card I'm assuming the SD card is connected as a 1 bit SPI interface? But using the micropython machine.sdcard module doesn't manage to mount it in any mode I have tried... See https://github.com/orgs/micropython/discussions/11460 Anyone got the SD card to work in micropython?
thanks!