Fixed:Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
copter
 
Posts: 2
Joined: Mon Dec 31, 2012 5:57 pm

Fixed:Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner

Post by copter »

I downloaded the driver and when i compile the pwntest sketch i get errors.
I made no changes to the downloaded examples whatsoever.

pwmtest:23: error: 'Adafruit_PWMServoDriver' does not name a type
pwmtest.pde: In function 'void setup()':
pwmtest:35: error: 'pwm' was not declared in this scope
pwmtest.pde: In function 'void loop()':
pwmtest:49: error: 'pwm' was not declared in this scope
Last edited by copter on Tue Jan 01, 2013 10:11 am, edited 1 time in total.

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

Re: Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner

Post by adafruit_support_bill »

Sounds like the library was not installed in the right location. See here for details: http://www.ladyada.net/library/arduino/libraries.html
Also note that the IDE won't find libraries installed after it starts. You need to close all copies of the IDE and restart before it will see the new library.

copter
 
Posts: 2
Joined: Mon Dec 31, 2012 5:57 pm

Fixed: Re: Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner

Post by copter »

Thank you exactlly what the problem was.

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

Return to “Other Arduino products from Adafruit”