Hi!
I'm trying to use the code for "Capacitive Touch with Conductive Fabric & Flora" (https://learn.adafruit.com/capacitive-t ... a/overview) but connecting it to a NeoPixel Strip rather than an individual neopixel.
What in the code do I have to alter to make this work? I am getting errors when I boot up the code on the Adafruit IDE:
CapacitiveSensorSketch:12: error: 'CapacitiveSensor' does not name a type
CapacitiveSensorSketch.pde: In function 'void setup()':
CapacitiveSensorSketch:18: error: 'cs_4_2' was not declared in this scope
CapacitiveSensorSketch.pde: In function 'void loop()':
CapacitiveSensorSketch:25: error: 'cs_9_10' was not declared in this scope
capacitive touch w/ 90 neopixel strip
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: capacitive touch w/ 90 neopixel strip
That error means that the compiler could not find the library in the expected location.error: 'CapacitiveSensor' does not name a type
Make sure that you have this library: http://playground.arduino.cc//Main/Capa ... n.CapSense
installed according to these instructions: http://learn.adafruit.com/adafruit-all- ... nstall-use
Please be positive and constructive with your questions and comments.