Hey,
Every time I attempt to install the library for this product (From the tutorial page) it tells me the library's name can contain no spaces or really anything that isn't a letter or a number. I do it exactly as is described in the arduino page about installing libraries but it doesn't seem to work. Do you know how I can fix this? Am I doing it wrong? Is there anything other code that I can use for a replacement? I would really love to use this amazing product and this is kind of frustrating me.
P.S. I don't know if this matters in assessing the problem but I use a Macbook Pro.
I am kind of a noob but this isn't making sense. Thanks!
Adafruit 16-bit PWM servo driver arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit 16-bit PWM servo driver arduino
Did you download the library from Github?
If so, you're running into a conflict between the built-in assumptions between Github and the Arduino IDE. Github insists on adding "-master" to the end of every directory you download, and the Arduino IDE refuses to accept any library in a directory whose name contains a dash.
Just remove the "-master" from the end of the directory name and restart the Arduino IDE.
If so, you're running into a conflict between the built-in assumptions between Github and the Arduino IDE. Github insists on adding "-master" to the end of every directory you download, and the Arduino IDE refuses to accept any library in a directory whose name contains a dash.
Just remove the "-master" from the end of the directory name and restart the Arduino IDE.
-
- Posts: 7
- Joined: Wed Mar 19, 2014 3:54 pm
Re: Adafruit 16-bit PWM servo driver arduino
It doesn't have -master on the end at all that's the weird thing. I did exactly as the adafruit tutorial (https://learn.adafruit.com/16-channel-p ... it-library) but it still says I need only basic letters even when it is named only basic letters.
-
- Posts: 7
- Joined: Wed Mar 19, 2014 3:54 pm
Re: Adafruit 16-bit PWM servo driver arduino
Sorry I should be more clear here when it gives the "warning" in the arduino IDE it does say it has a -master at the end but I always rename it. How do I rename the software for good?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit 16-bit PWM servo driver arduino
Double-check your Arduino preferences to make sure you're moving libraries into the correct sketchbook/libraries folder. It sounds like the compiler is looking at different files than you are.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit 16-bit PWM servo driver arduino
Make sure you have only one copy installed, and make sure it is installed in the right location. The IDE is fairly picky about that. See this guide for details:
http://learn.adafruit.com/adafruit-all- ... nstall-use
http://learn.adafruit.com/adafruit-all- ... nstall-use
-
- Posts: 7
- Joined: Wed Mar 19, 2014 3:54 pm
Re: Adafruit 16-bit PWM servo driver arduino
It worked!!! Thank you so much Bill!! Gonna go use it now. Thanks again!
-
- Posts: 7
- Joined: Wed Mar 19, 2014 3:54 pm
Re: Adafruit 16-bit PWM servo driver arduino
And thank you Mike as well!!
Please be positive and constructive with your questions and comments.