You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to compile this for a sparkfun micromod esp32
I get the following error:
"In file included from C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino:1:0:
C:\Users\mansh\Documents\Arduino\libraries\AT42QT-master/AT42QT.h:46:18: error: 'QT_I2C_ADDRESS' was not declared in this scope
uint8_t addr = QT_I2C_ADDRESS;
^
C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino: In function 'void setup()':
AT42QT:28:9: error: request for member 'begin' in 'touch', which is of non-class type 'AT42QT()'
touch.begin();
^
C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino: In function 'void loop()':
AT42QT:41:11: error: request for member 'IRQ_handler' in 'touch', which is of non-class type 'AT42QT()'
touch.IRQ_handler();
^
exit status 1
request for member 'begin' in 'touch', which is of non-class type 'AT42QT()'"
The text was updated successfully, but these errors were encountered:
Just wondering if you solved your QT_I2C_ADDRESS error because I'm having the same issue. Mine is:
`
In file included from C:\Utility\Dropbox\Arduino Code\Work\C-01-221_ESP32_Door\Touch_Test\Touch_Test.ino:1:
c:\Users\mrankin\Documents\Arduino\libraries\AT42QT-master/AT42QT.h:46:18: error: 'QT_I2C_ADDRESS' was not declared in this scope
uint8_t addr = QT_I2C_ADDRESS;
^~~~~~~~~~~~~~
c:\Users\mrankin\Documents\Arduino\libraries\AT42QT-master/AT42QT.h:46:18: note: suggested alternative: 'I2C_ADDRESS'
uint8_t addr = QT_I2C_ADDRESS;
^~~~~~~~~~~~~~
I2C_ADDRESS
Trying to compile this for a sparkfun micromod esp32
I get the following error:
"In file included from C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino:1:0:
C:\Users\mansh\Documents\Arduino\libraries\AT42QT-master/AT42QT.h:46:18: error: 'QT_I2C_ADDRESS' was not declared in this scope
uint8_t addr = QT_I2C_ADDRESS;
^
C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino: In function 'void setup()':
AT42QT:28:9: error: request for member 'begin' in 'touch', which is of non-class type 'AT42QT()'
touch.begin();
^
C:\Users\mansh\AppData\Local\Temp\arduino_modified_sketch_743072\AT42QT.ino: In function 'void loop()':
AT42QT:41:11: error: request for member 'IRQ_handler' in 'touch', which is of non-class type 'AT42QT()'
touch.IRQ_handler();
^
exit status 1
request for member 'begin' in 'touch', which is of non-class type 'AT42QT()'"
The text was updated successfully, but these errors were encountered: