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
Fixed:Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Mon Dec 31, 2012 5:57 pm
Fixed:Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner
Last edited by copter on Tue Jan 01, 2013 10:11 am, edited 1 time in total.
- 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
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.
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.
-
- Posts: 2
- Joined: Mon Dec 31, 2012 5:57 pm
Fixed: Re: Adafruit 16-Channel 12-bit PWM/Servo Driver ..help a beginner
Thank you exactlly what the problem was.
Please be positive and constructive with your questions and comments.