Do you know if there is a way to completely "turn off" the capacitive touch function? I have found a bunch of article online, and read though tons of forums to no avail
I even tried running the touchRead() on a separate core, but experienced the same loss in function
Search found 6 matches
- Tue Oct 03, 2023 7:14 am
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
- Thu Sep 21, 2023 1:18 am
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
Re: touchRead breaking analogWrite?
I slightly changed the code to the below (just to make the timing go quicker). In the first test I ran the exact code below, and after the first run, only 3/5 lights came on (this is after the touchRead(4) ran) In the second test, the only thing I changed was commenting out the print line... then al...
- Wed Sep 20, 2023 1:46 am
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
Re: touchRead breaking analogWrite?
Does everything work if you set an interrupt instead of a direct read? https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/Touch/TouchInterrupt/TouchInterrupt.ino I did try this, great suggestion. It did not work either, I even tried detaching the interrupt before writin...
- Tue Sep 19, 2023 4:42 am
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
- Thu Aug 31, 2023 6:38 pm
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
Re: touchRead breaking analogWrite?
Wi-Fi was commented out and not being run while testing
- Tue Aug 29, 2023 3:58 pm
- Forum: ESP32 Arduino
- Topic: touchRead breaking analogWrite?
- Replies: 11
- Views: 7396
touchRead breaking analogWrite?
Some context for my issue, I'm designing a custom flashlight and have already received the prototype pcb. I thought I'd try to add capacitive touch but now 2/5 of the lights don't work. The lights DO work when I run a code that simply turns each one on and then off to test the leds. However, when I ...