HomeSpan
HomeSpan
Hmmm. Do you have the same problem if you use Example 1 tutorial?
Sorry, but the Touch Sensor library on the ESP32 is quite complicated and the button class would need to be significantly changed to incorporate that library.
Wow - thank you! I had no idea the ESP32-Arduino library had this feature. This makes it a LOT easier to integrate. I will extend the button class to allow...
Sorry, I have not yet added that to HomeSpan, but hope to in a future release. Given other similar requests for alternative buttons (pull-ups, use of multiplexers, etc.) I anticipate...
HomeSpan version 1.6.0 (just released) now includes the ability to use touch pad/sensors with SpanButton. Complete details can be found in the the latest version of [SpanButton()](https://github.com/HomeSpan/HomeSpan/blob/master/docs/Reference.md#spanbuttonint-pin-uint16_t-longtime-uint16_t-singletime-uint16_t-doubletime-boolean-triggertypeint) in the API...
No, you can only use touch for SpanButton at this time. Control still needs to be a physical button to ground.
Have you been able to resolve this issue?
Can you post a zip file of your sketch? Is the issue that your sensor takes a while to return?
One possibility may be the time-clock sync that the ESP automatically does on a periodic basis. This is activated when you enable the web log output and can take up...
I think the solution you arrived at makes a lot of sense - placing time-critical functions each in their own respective threads. The solution in #304 assumes you would have...