m5stack / Core2forAWS-MicroPython

M5Stack Core2 for AWS IoT Kit MicroPython repo with examples for connecting to AWS IoT and using device features.
https://m5stack.com/collections/m5-core/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit
7 stars 4 forks source link

problem with touch #3

Open 726D opened 3 years ago

726D commented 3 years ago

Going through the examples at https://github.com/m5stack/Core2forAWS-MicroPython/blob/master/ports/esp32/boards/Core2forAWS/image_file/examples/ and trying with a REPL works fine.

copying the content of https://github.com/m5stack/Core2forAWS-MicroPython/blob/master/ports/esp32/boards/Core2forAWS/image_file/examples/tft.py to the device as s.py and importing s.py gives the animation on the device.

copying the content of https://github.com/m5stack/Core2forAWS-MicroPython/blob/master/ports/esp32/boards/Core2forAWS/image_file/examples/touch.py to the device as t.py and importing t.py results in the touch / button log, but the device does not react on touch / button press

it is not a hardware problem

-->

-->