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

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

Postby copter » Mon Dec 31, 2012 5:04 pm

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 9:11 am, edited 1 time in total.
copter
 
Posts: 2
Joined: Mon Dec 31, 2012 4:57 pm

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

Postby adafruit_support_bill » Tue Jan 01, 2013 6:33 am

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.
User avatar
adafruit_support_bill
 
Posts: 16644
Joined: Sat Feb 07, 2009 9:11 am

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

Postby copter » Tue Jan 01, 2013 8:58 am

Thank you exactlly what the problem was.
copter
 
Posts: 2
Joined: Mon Dec 31, 2012 4:57 pm


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]