I am struggleing writing a code to control a valve output controlled by a button input with an emergency stop also written in.!!
The Format of the test is as followed
System Primed - which involved 10 x 2sec of output causing the valve to open with 2 sec rest intervals inbetwwen.
this is then followed by 5 mins of valve being open
END - wait for button to be pressed to comense test again....
with an emergency stop built in to end the process straight away!!!
ANY HELP WOULD BE VERY MUCH APRIECIATED!! ;D ;D