CHIP_IO

A CHIP IO library for Python: IO+PWM+SPWM+ADC+Utilities

View the Project on GitHub

CHIP_IO.SERVO

Import the SERVO module as follows

  import CHIP_IO.SERVO as SERVO

toggle_debug()

Enable/Disable the Debug

is_chip_pro()

Function to report to the calling script if the SBC is a CHIP or a CHIP Pro

start(channel, angle=0.0, range=180.0)

Start the Servo

stop(channel)

Stop the Servo

set_range(channel, range)

Set the range of the Servo

set_angle(channel, angle)

Set the angle of the Servo

cleanup()

Cleanup all setup Servos, this will blast away every sero currently in operation

home