Touch pin functionality
What is the status and plan for the touch functionality? On the pin out it says to attach a 10 nF cap to enable the touch pin function, but I can't find any documentation on this anywhere. The only thing I can find in the Forum is someone saying that this is NOT possible (if so; why is it on the pin out?)
Anyone with any experience?
Second vote for importing what's already in the mainline tree: https://github.com/micropython/micropython/blob/v1.9.4/ports/esp32/machine_touchpad.c
(it must be quite a lot of work for Pycom to maintain their own fork of MicroPython.. not to mention how the MicroPython world is starting to get a bit fragmented with all the forks now)
Hi pycom people,
What is the current status with the touch sensing?
Would it be a big job to bring in the changes from here:
jmarcelino last edited by
@jmarcelino Thanks, I'll try to look in to it.. Your 2nd links is not working though. :)
jmarcelino last edited by jmarcelino
Look into https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/README.md to find out how to build the firmware with your changes.
If you look in the esp32/mods folder you can see how modules you use are implemented.
@seb Thanks! Sorry if I missed it, but is there any documentation on how to program the modules in C? As I understand it, I can use both my MicroPython modules and C in combination right ?
As you can probably sense I am not a hardcore coder, so I need to start a bit from scratch. :)
seb last edited by
@mahe Apologies about the delayed response. I'm afraid this functionality of the ESP32 has not yet been exposed in micropython. It's on our to-do list but I can't promise a date when it will be available. You can access the capacitive touch functionality if you program the modules directly in C though.
I hope this answers your query,
No one from Pycom with a comment on this?