analog-sensor

xod/common-hardware/analog-sensor

Reads analog signal value from analog sensor
analog-sensor
@/analog-sensor
Reads analog signal value from analog sensor
PORTport
Analog port to read from. Should start with `A` to succeed.
UPDpulse
Triggers new read
analog-sensor
VALVALDONEDONEERRERRPORTPORTUPDUPD
ERRpulse
Fires if update failed. E.g. `PORT` is not an ADC port.
DONEpulse
Fires on reading complete
VALnumber
The latest read value in range 0.0 … 1.0