Page 1 of 1

Going Crazy on a Direction tree

Posted: Mon Sep 22, 2014 7:01 am
by JLeith
Hello All,

It has been a year since I did my big project and now I was trying to build another and I have no idea why this flow won't work.

I have looked over it so many times my eyes are getting crossed eye.

I know it has to be something simple I have missed.

All I want to do is press the button and the led should light and the LCD should display.

I can't get the button to trigger.

I have added the very simple Flowcode if someone can shed light on what I'm missing.

Thank you
John

Re: Going Crazy on a Direction tree

Posted: Mon Sep 22, 2014 7:59 am
by medelec35
Hi John,
The switch function name can be misleading.
It is not an input for a switch.
Its function is to take a different branch depending on the result of a variable.
Take a look here:
http://www.flowcode.co.uk/mmforums/viewt ... 57&#p59557
&
http://www.flowcode.co.uk/wiki/index.php ... Properties

You will still need to use an input icon, or a component icon that relates to the switch on the panel called Switch(0) to read the switch.

Re: Going Crazy on a Direction tree

Posted: Mon Sep 22, 2014 5:42 pm
by JLeith
Hi Martin,

Thank you for the info I have printed off the Flowchart link and add it to my knowledge book.

All the best and I will review my mystery and add a little more routes.

All the best