Metadata-Version: 2.1
Name: KitronikPicoSimplyServos
Version: 1.0.0
Summary: Kitronik Simply Servo board for Raspberry Pi Pico allows for up to 8 servos to be controlled simultaneously
Description-Content-Type: text/markdown
License-File: LICENSE

# Kitronik-Pico-Simply-Servos-MicroPython
A MicroPython class and example code to use the Kitronik Simply Servos board for Raspberry Pi Pico. (www.kitronik.co.uk/5339)

To use save SimpyServos.py file onto the Pico so it can be imported.

## Import SimplyServos.py and construct an instance:
    import SimplyServos
    board = SimplyServos.KitronikSimplyServos()

This will initialise the PIO and set them to drive the servo pins.

## Drive a Servo by degrees:
    board.goToPosition(servo, degrees)
where:
* servo => 1 to 8
* degrees => 0-180

## Drive a Servo by pulse width:
    board.goToPeriod(servo, period)
where:
* servo => 1 to 8
* period => 500 - 2500 
	period is the pulse width in microseconds


This code is designed to be used as a module. See: https://kitronik.co.uk/blogs/resources/modules-micro-python-and-the-raspberry-pi-pico for more information.
