Arduino library error
Posted: Sat Oct 31, 2015 12:08 pm
Hello,
I am working on a project that needs the CapacitiveSensor library. But if I try to upload the code to the board I get the following error:
I am working on a project that needs the CapacitiveSensor library. But if I try to upload the code to the board I get the following error:
Code: Select all
Arduino: 1.6.5 (Windows 10), Board: "Adafruit HUZZAH ESP8266, 80 MHz, 115200"
Build options changed, rebuilding all
In file included from capSensorSmall.ino:1:0:
C:\Users\Bram\Documents\Arduino\libraries\CapacitiveSensor/CapacitiveSensor.h:97:2: error: 'IO_REG_TYPE' does not name a type
IO_REG_TYPE sBit; // send pin's ports and bitmask
^
C:\Users\Bram\Documents\Arduino\libraries\CapacitiveSensor/CapacitiveSensor.h:98:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *sReg;
^
C:\Users\Bram\Documents\Arduino\libraries\CapacitiveSensor/CapacitiveSensor.h:99:2: error: 'IO_REG_TYPE' does not name a type
IO_REG_TYPE rBit; // receive pin's ports and bitmask
^
C:\Users\Bram\Documents\Arduino\libraries\CapacitiveSensor/CapacitiveSensor.h:100:11: error: 'IO_REG_TYPE' does not name a type
volatile IO_REG_TYPE *rReg;
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.