rendered paste bodyloadusr -W pyvcp -c pyvcp laser_vcp.xml
# invoke this with halrun
loadrt hal_parport cfg="0x9800"
# next connect the parport functions to threads
# there are no inputs, btw.
# write outputs
addf parport.0.write base-thread -1
net bit1 pyvcp.chbutton-sample1 => pyvcp.led-sample1 parport.0.pin-02-out
net bit2 pyvcp.chbutton-sample2 => pyvcp.led-sample2 parport.0.pin-03-out
net bit3 pyvcp.chbutton-sample3 => pyvcp.led-sample3 parport.0.pin-04-out
net bit4 pyvcp.chbutton-sample4 => pyvcp.led-sample4 parport.0.pin-05-out
net bit5 pyvcp.chbutton-sample5 => pyvcp.led-sample5 parport.0.pin-06-out
net bit6 pyvcp.chbutton-sample6 => pyvcp.led-sample6 parport.0.pin-07-out
net bit7 pyvcp.chbutton-sample7 => pyvcp.led-sample7 parport.0.pin-08-out