Capacitive Touch ESP32-S3 (esp32S3_touch_pin_sens)¶
What it does: Returns a logic value according to the measurement of the capacitive input of the selected pin. In the block you select pin and sensitivity.

The generator creates TouchPad(Pin(...)) and returns True if read() falls below the selected threshold. It's a measured number comparison, not a single press event; while the condition lasts, the result is repeatedly true.
Tips and pitfalls¶
- Select a pin supporting touch measurement and test the threshold for a specific connection.
- This block currently uses the "less than threshold" test. When debugging, consider this real behavior of the generator, not the automatic recognition of the direction of change.
- For one touch reaction, keep the previous state in the program and react to the change.