Hi Folks,
I've been trying now for a couple of hours to figure out why the CapSense library is producing the following error message:
No Matching Function for Call to 'CapSense::CapSense(int,int)'
I have added the CapSense Library folder as its found here:
http://arduino.cc/playground/Main/CapacitiveSensor?from=Main.CapSenseI've placed the folder in the Arduino Libraries folder with all the other libraries. C:\arduino-1.0.2\libraries\CapacitiveSense
I restarted Arduino and checked that the CapSense library is reckognized and have tried the example sketch.
All CapSense sketches that I attempt to verify produce the same error.
Does anybody know what could be happening?
Also here is the details of the error message displayed in the black console:
In file included from CapSenseSketchForLibrary.pde:1:
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:28: error: 'uint8_t' does not name a type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:29: error: 'uint8_t' does not name a type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:30: error: ISO C++ forbids declaration of 'uint8_t' with no type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:30: error: expected ';' before '*' token
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:31: error: ISO C++ forbids declaration of 'uint8_t' with no type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:31: error: expected ';' before '*' token
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:33: error: 'uint8_t' does not name a type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:34: error: 'uint8_t' does not name a type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:35: error: ISO C++ forbids declaration of 'uint8_t' with no type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:35: error: expected ';' before '*' token
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:36: error: ISO C++ forbids declaration of 'uint8_t' with no type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:36: error: expected ';' before '*' token
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:37: error: ISO C++ forbids declaration of 'uint8_t' with no type
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:37: error: expected ';' before '*' token
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:40: error: expected `)' before 'sendPin'
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:41: error: 'uint8_t' has not been declared
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:42: error: 'uint8_t' has not been declared
CapSenseSketchForLibrary:12: error: no matching function for call to 'CapSense::CapSense(int, int)'
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: candidates are: CapSense::CapSense()
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: CapSense::CapSense(const CapSense&)
CapSenseSketchForLibrary:13: error: no matching function for call to 'CapSense::CapSense(int, int)'
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: candidates are: CapSense::CapSense()
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: CapSense::CapSense(const CapSense&)
CapSenseSketchForLibrary:14: error: no matching function for call to 'CapSense::CapSense(int, int)'
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: candidates are: CapSense::CapSense()
J:\arduino-1.0.2\libraries\CapacitiveSense/CapSense.h:15: note: CapSense::CapSense(const CapSense&)
Thank you,
tzola