Hi Dave!
I've been struggling to find good quality binary encoders, and have settled in on the ESP32 as my primary platform for projects. Since there's touch support in both the hardware and tcMenu, I figured I'd give it a whirl.
I'm struggling. I've been through all of the permutations in Designer. Nothing works. No errors, but no sensing. I've tried both interrupt and loop. Nothing.
On a lark, I added this to my loop():
Serial.print(touchRead(4)); Serial.print(" ");
Serial.print(touchRead(13)); Serial.print(" ");
Serial.print(touchRead(32)); Serial.print(" ");
Serial.println();
... when that code is present, I see ~200 with no touch, < 100 with touch.... I also see random touches (this seems to be an ADC issue) ... and the tcMenu cursor comes to life (and sometimes moves on its own).
I've got sensors on GPIOs 4, 13, 32 and specified 9, 4, 0 in the Designer.
I've walked through the code and would like to see if I can enable a debug mode. I see lots of info getting passed over to "serdebugF2", but it doesn't appear to be enabled.
Can you point me in the right direction?
|