servo

xod/common-hardware/servo

Drives a standard hobby servo
servo
@/servo
Drives a standard hobby servo
PORTport
Board port number the servo is connected to.
VALnumber
Desired servo angle or value in unit range [0.0, 1.0]. For standard servo 0.0 would be mapped to 0° and 1.0 would be 180°.
UPDpulse
Triggers new write
servo
DONEDONEERRERRPORTPORTVALVALUPDUPD
ERRpulse
Fires if write failed. E.g. `PORT` does not exist.
DONEpulse
Fires on writing complete