adafruit / Adafruit_CircuitPython_PIOASM

Simple assembler to convert pioasm to bytes
MIT License
27 stars 17 forks source link

add pulsegroup example #41

Closed jepler closed 2 years ago

jepler commented 2 years ago

Example to accompany new functionality in

wait for that code to be merged before merging this example!

jepler commented 2 years ago

This example is for the Pimoroni Servo 2040 board. It sends commands to all 18 connected servos, making them move in a sinusoidal fashion. The number printed on the REPL is the milliseconds between updates, ideally 20.

jepler commented 2 years ago

Limor requests that the example be changed so that the servos start on 2.5ms boundaries, so: 0ms, 2.5ms, ..., 17.5ms, 0ms, ...

jepler commented 2 years ago

Updated per Limor's request