<< return to Pixycam.com

Pixy set servos

Hi there

You set the servos in the arduino code with this line pixy.setServos(500L,500L);correct?

But I have added it in a while loop and its not setting the servos is there something I am missing or is there another piece of code I need to add in the while loop.

Thanks
Mathys

Hello Mathys,
You should make sure that you are using the most recent Arduino release.

http://cmucam.org/projects/cmucam5/wiki/Latest_release

There is also an Arduino example that does what you describe called “servo_move”. Does this example move the servos?

Edward