Ensure your device works with this simple test.
.. literalinclude:: ../examples/pca9685_simpletest.py :caption: examples/pca9685_simpletest.py :linenos:
This advanced example can be used to compute a more precise reference_clock_speed. Use an oscilloscope or logic analyzer to measure the signal frequency and type the results into the prompts.
.. literalinclude:: ../examples/pca9685_calibration.py :caption: examples/pca9685_calibration.py :linenos:
Example to show the library using a servo
.. literalinclude:: ../examples/pca9685_servo.py :caption: examples/pca9685_servo.py :linenos: