Search found 6 matches

by zmaker
Tue Oct 03, 2023 7:14 am
Forum: ESP32 Arduino
Topic: touchRead breaking analogWrite?
Replies: 11
Views: 7396

Re: touchRead breaking analogWrite?

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
by zmaker
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...
by zmaker
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...
by zmaker
Tue Sep 19, 2023 4:42 am
Forum: ESP32 Arduino
Topic: touchRead breaking analogWrite?
Replies: 11
Views: 7396

Re: touchRead breaking analogWrite?

zmaker wrote:
Thu Aug 31, 2023 6:38 pm
Wi-Fi was commented out and not being run while testing
Good, I don't want wifi interfering.
by zmaker
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
by zmaker
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 ...