Using the System 25
DLAP-301 Series
3.3 DIO Configuration
Use these commands to access DIO control.
*: Port 1-4
To write to a specific digital output port:
low
$echo 0 > /sys/class/adlink_DIO/DO_*
high
$echo 1 > /sys/class/adlink_DIO/DO_*
To read from a specific digital input port:
$cat /sys/class/adlink_DIO/DI_*