Switches in the FlowCode
Posted: Thu Sep 06, 2007 12:28 am
I have a switch (a toggle component) connected to PORT_A bit5.
Now I want to "FlowCode" and If the switch is CLOSED I want to do macroA and if not do macroB.
The DECISION-icon can only test on VARIABLES (not directly on PORT_A.5 !) and the switch component does NOT allow me to define a variable for CLOSED and OPEN !
How does this "peace of cake" work ? - I can't get it !
Now I want to "FlowCode" and If the switch is CLOSED I want to do macroA and if not do macroB.
The DECISION-icon can only test on VARIABLES (not directly on PORT_A.5 !) and the switch component does NOT allow me to define a variable for CLOSED and OPEN !
How does this "peace of cake" work ? - I can't get it !