Reads values from a generic potentiometer. Basically a thin wrapper around `analog-input` for a simpler learning experience.
Possible errors:
— Invalid port
pot
@/pot
Reads values from a generic potentiometer. Basically a thin wrapper around `analog-input` for a simpler learning experience.
Possible errors:
— Invalid port
PORTport
A board ADC port the potentiometer is connected to.
UPDpulse
Triggers a new read.
DONEpulse
Fires on reading complete
VALnumber
The last read potentiometer position in range [0.0, 1.0].