Flora and conductive fabric

by KimD on Sun Mar 03, 2013 5:44 pm

I'm working with the Capacitive Touch with Conductive Fabric and Flora tutorial, I've copied and pasted the entire sketch into my Arduino window. When I click on "Verify", I get the following errors:

CapacitiveSensorSketch:15: error: 'CapacitiveSensor' does not name a type
CapacitiveSensorSketch.pde: In function 'void setup()':
CapacitiveSensorSketch:22: error: 'cs_9_10' was not declared in this scope
CapacitiveSensorSketch.pde: In function 'void loop()':
CapacitiveSensorSketch:32: error: 'cs_9_10' was not declared in this scope

I've tried adding a type to
CapacitiveSensor cs_9_10 = CapacitiveSensor(9,10);
but this brings up other errors...

I've had success downloading Lux Sensor code and mixing it up with the Flora LED display code, but this one is giving me trouble.
Any ideas??
thanks!
KimD
 
Posts: 4
Joined: Sun Jan 06, 2013 10:48 pm

Re: Flora and conductive fabric

by adafruit_support_bill on Mon Mar 04, 2013 5:43 am

Looks like your Capacitive Sensor library is not installed in the correct location.
http://learn.adafruit.com/adafruit-all- ... nstall-use
User avatar
adafruit_support_bill
 
Posts: 25359
Joined: Sat Feb 07, 2009 9:11 am

Re: Flora and conductive fabric

by KimD on Mon Mar 04, 2013 6:58 pm

Oh my, you're right! I knew it had to be something simple, and I thought I'd had those libraries figured out.

thank you so much.
KimD
 
Posts: 4
Joined: Sun Jan 06, 2013 10:48 pm