Hardware buttons example

Currently working on a university project with an ESP32 and a 1.8 TFT screen. I’m trying to figure out how to do hardware buttons with the GUI. I’ve found numerous examples for this e.g https://blog.littlevgl.com/2019-01-08/hardware-button but all are in C. I was wondering if anyone knows of the Micropython equivalent for this or of any other tutorials that’d help

Thanks in advance

1 Like