# test panel for pport
# port at 9c00
# this uses HAL and PyVCP only, no EMC
loadrt hal_parport cfg="9c00"
loadusr -Wn fred pyvcp -c fred pp1b1led.xml
loadrt threads name1=thrd1 period1=1000000
addf parport.0.read thrd1
addf parport.0.write thrd1
loadrt or2 count=2
addf or2.0 thrd1
addf or2.1 thrd1
net parport.0.pin-11-in-not or2.0.in0 or2.1.in0
net fred.mySoftButton or2.0.in1 or2.1.in1
#
# pin pin comp pin signal pin
# --parport.0.pin-11-in-not-------------or2.0.in0
# OR or2.0.out---------hdwrout-----------parport.0.pin-02-out
# --fred.mySoftButton-------------------or2.0.in1
#
#
# --parport.0.pin-11-in-not-------------or2.1.in0
# OR or2.1.out---------guiout------------fred.led.0
# --fred.mySoftButton-------------------or2.1.in1
#
#
newsig hdwrout bit
newsig guiout bit
net hdwrout or2.0.out parport.0.pin-02-out
net guiout or2.1.out fred.led.0
start
waitusr fred