Beetle ESP32 C6 Mini touchRead error in compilation

userHead Giuseppe.Sorrentino 2024-07-12 22:49:04 27 Views2 Replies

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'?
 

userHeadPic Giuseppe.Sorrentino
2024-07-14 01:23:15

What's the error message that you're seeing?

userHeadPic lia.ifat