@mikeh77 the example code is correct. Pca9685 can only produce 0-5 volt pwm (diall
ng) output, you can use a Darlington transistor to boost it up to 10 volt, without any extra code, example wiring is here : https://learn.adafruit.com/adafruits-raspberry-pi-lesson-10-stepper-motors?view=all
reef-pi is written in go, a different programming language than python. Does that answer your question?
I see. Yeah man no worries, thanks for the help!