SALE TODAY! 15% off! Use the code BLACKFRIDAY15 on checkout *some restrictions apply.


Author Gravatar Image SIMON MONK
In this tutorial, you will learn how to control a servo from Python using a BeagleBone Black (BBB).
A Python test program will allow you to set the angle of the servo between 0 and 180 degrees.
Copy Code
# python 
Angle (0 to 180 x to exit):90
Angle (0 to 180 x to exit):180
Angle (0 to 180 x to exit):0
Angle (0 to 180 x to exit):x
Last updated on 2015-05-04 at 04.27.11 PM Published on 2013-07-15 at 01.34.50 PM