Fast read of an analog signal value from board ADC port.
Possible errors:
— Invalid port
fast-analog-read
@/fast-analog-read
Fast read of an analog signal value from board ADC port.
Possible errors:
— Invalid port
PORTport
Analog port to read from. Should start with `A` to succeed.
UPDpulse
Triggers new read
0-1boolean
Sets the input to be between a range of 0-1 (if true) or RAW 0-1023
DONEpulse
Fires on reading complete
VALnumber
The latest read value in range 0 to 1023 ... OR if 0-1 set to true, the range will be 0-1
To use the node in your project you should have the robertspark/faster-analog-read library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.