Gentlemen,
    The toggle button works very good. My logic is as follows to make
the coolant button act as I needed.

# Flood button

loadrt toggle
loadrt not

setp toggle.0.debounce 10

net button7 joypad.button.7 => toggle.0.in
net floodOn toggle.0.out => halui.flood.on
net floodOn toggle.0.out => not.0.in
net floodOff not.0.out => halui.flood.off

# Attach realtime functions to threads
addf toggle.0 servo-thread
addf not.0 servo-thread

very nice
thanks
Stuart

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to