I'm getting the following three errors when trying to compile the CapacitiveSensorSketch example:
I've been able to use the capsense library and teensy 4.1 on a different computer with no problem. Not sure what's going wrong here..
I'm using a Mac with Arduino 1.8.15 and Teensyduino 1.54.
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:222:2: error: 'IO_REG_TYPE' does not name a type
IO_REG_TYPE sBit; // send pin's ports and bitmask
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:223:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *sReg;
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:224:2: error: 'IO_REG_TYPE' does not name a type
IO_REG_TYPE rBit; // receive pin's ports and bitmask
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:225:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *rReg;
IO_REG_TYPE sBit; // send pin's ports and bitmask
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:223:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *sReg;
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:224:2: error: 'IO_REG_TYPE' does not name a type
IO_REG_TYPE rBit; // receive pin's ports and bitmask
^
/Users/emma/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:225:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *rReg;
I've been able to use the capsense library and teensy 4.1 on a different computer with no problem. Not sure what's going wrong here..
I'm using a Mac with Arduino 1.8.15 and Teensyduino 1.54.