Overview

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 servo.py 
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 2014-04-07 at 06.19.17 PM Published on 2013-07-15 at 05.34.50 PM