Go Down

Topic: Would like to get Touchy-Feely Lamp to work for Primo (Read 194 times) previous topic - next topic

DaleScott

I bought an Arduino Primo and would like to try this sketch with it. I down-loaded the library and installed it but there is an error on compiling (see below). Any advice on how to resolve compiling issues?



In file included from C:\Users\daleg\Documents\Arduino\CapacitiveSensorSketch\CapacitiveSensorSketch.pde:1:0:

C:\Users\daleg\Documents\Arduino\libraries\arduino-libraries-CapacitiveSensor-a07209f/CapacitiveSensor.h:239:2: error: 'IO_REG_TYPE' does not name a type

  IO_REG_TYPE sBit;   // send pin's ports and bitmask

  ^

C:\Users\daleg\Documents\Arduino\libraries\arduino-libraries-CapacitiveSensor-a07209f/CapacitiveSensor.h:240:11: error: 'IO_REG_TYPE' does not name a type

  volatile IO_REG_TYPE *sReg;

           ^

C:\Users\daleg\Documents\Arduino\libraries\arduino-libraries-CapacitiveSensor-a07209f/CapacitiveSensor.h:241:2: error: 'IO_REG_TYPE' does not name a type

  IO_REG_TYPE rBit;    // receive pin's ports and bitmask

  ^

C:\Users\daleg\Documents\Arduino\libraries\arduino-libraries-CapacitiveSensor-a07209f/CapacitiveSensor.h:242:11: error: 'IO_REG_TYPE' does not name a type

  volatile IO_REG_TYPE *rReg;

           ^

exit status 1
Error compiling for board Arduino Primo.

Go Up