Beetle ESP32 C6 Mini touchRead error in compilation
Hello, I would like to know why the instruction touchRead gives error in compilation. Thankyou
2024-07-16 00:05:31
C:\Users\sorre\AppData\Local\Temp\.arduinoIDE-unsaved2024615-13724-1ml8xkm.m2j5\TouchRead\TouchRead.ino: In function 'void loop()':
C:\Users\sorre\AppData\Local\Temp\.arduinoIDE-unsaved2024615-13724-1ml8xkm.m2j5\TouchRead\TouchRead.ino:13:18: error: 'touchRead' was not declared in this scope; did you mean 'touch_pad_t'?
13 | Serial.println(touchRead(T1)); // get value using T1
| ^~~~~~~~~
| touch_pad_t
exit status 1
Compilation error: 'touchRead' was not declared in this scope; did you mean 'touch_pad_t'?