What's wrong here?
I'm using an UNO and 022 (I suspect the problem is that very new combination); and have installed the latest library from Adafruit. I've double checked everything and searched the hell out of this forum.
On compile I get error "ServoTimer1 does not name a type." And can find ServoTimer1.h nowhere in the downloaded library from Adafruit.
I found mentions in the official Arduino forums of changing 'ServoTimer1' to 'Servo' to use the built-in Arduino servo library. That compiles OK but my servo still doesn't work.
Stepper motor setup was effortless and worked beautifully, btw.
Motorshield: UNO and 022, ServoTimer1.h does not work
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- gravelbar
- Posts: 3
- Joined: Tue Mar 22, 2011 11:59 pm
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motorshield: UNO and 022, ServoTimer1.h does not work
It should work with the built-in Servo library. Can you control the servos alone with the Servo library? Get that working first, then combine it with your steppers.
- gravelbar
- Posts: 3
- Joined: Tue Mar 22, 2011 11:59 pm
Re: Motorshield: UNO and 022, ServoTimer1.h does not work
Sorry, should have mentioned I tried the "motor party" example pde, and it calls ServerTimer1.h.
But ServerTimer1.h doesn't seem to be in the newer libraries (both yours and 022), do you guys need to edit that example maybe?
Thanks much for the quick response
But ServerTimer1.h doesn't seem to be in the newer libraries (both yours and 022), do you guys need to edit that example maybe?
Thanks much for the quick response
- gravelbar
- Posts: 3
- Joined: Tue Mar 22, 2011 11:59 pm
Re: Motorshield: UNO and 022, ServoTimer1.h does not work
Solved: Sweep.pde distributed with 022 works just fine with servo in #2 position.
Motorshield is very cool and useful.
Please fix your download code or mention this somewhere, I wasted a lot of time finding this out, thanks.
Motorshield is very cool and useful.
Please fix your download code or mention this somewhere, I wasted a lot of time finding this out, thanks.
Please be positive and constructive with your questions and comments.