pot

xod/common-hardware/pot

Reads values from a generic potentiometer. Basically a thin wrapper around `analog-input` for a simpler learning experience.
pot
@/pot
Reads values from a generic potentiometer. Basically a thin wrapper around `analog-input` for a simpler learning experience.
PORTport
A board ADC port the potentiometer is connected to.
UPDpulse
Triggers a new read.
pot
VALVALDONEDONEERRERRPORTPORTUPDUPD
ERRpulse
Fires if update failed. E.g. `PORT` is not an ADC port.
DONEpulse
Fires on reading complete
VALnumber
The last read potentiometer position in range [0.0, 1.0].