Pages: [1]   Go Down
Author Topic: Aiko Ping and Servo do not play nice?  (Read 735 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all, I have built a small "Arduino Car" using Arduino Uno, three servo and a Ping ))) Sensor.
 I wrote a lot of test code and it works fine.
I am powering all the stuff with two set of batteries (one for the servos and one for the arduino itself).
All oks, but...

when I tried to migrate the code to a more structured "AikoEvents" approach it starts to have bizzare behavior.
For instance Servo started to move backwards sometimes.
It is possible the AikoEvents use of AVR interrupts can interfer with the Servo library?
Do you have some hints? I am new to the Arduino Hardware platform smiley

I am using pin 4,11,6 for the servo engine. I have attached the offending code

* RoboSound2011.pde (2.86 KB - downloaded 6 times.)
Logged

Pages: [1]   Go Up
Jump to: