read-channel

amperka/octoliner/read-channel

Reads the tint value from a certain channel of the Octoliner board.
read-channel
@/read-channel
Reads the tint value from a certain channel of the Octoliner board.
IN@/octoliner-device
CHnumber
A channel number ro read from in the range [0,7].
UPDpulse
Triggers a new read.
read-channel
OUTOUTVALVALOKOKININCHCHUPDUPD
OKpulse
Fires if a reading is done.
VALnumber
The last tint value read from the specified channel in the range [0,1] where 0 is pure white and 1 is pure black.
OUT@/octoliner-device
To use the node in your project you should have the amperka/octoliner 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.