capacitive touch w/ 90 neopixel strip

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
roxanne
 
Posts: 9
Joined: Wed Dec 03, 2014 11:30 pm

capacitive touch w/ 90 neopixel strip

Post by roxanne »

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

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: capacitive touch w/ 90 neopixel strip

Post by adafruit_support_bill »

error: 'CapacitiveSensor' does not name a type
That error means that the compiler could not find the library in the expected location.
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

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”