Going Crazy on a Direction tree

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
JLeith
Posts: 537
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 146 times
Been thanked: 26 times
Contact:

Going Crazy on a Direction tree

Post 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
Attachments
Segment control Flowcode.fcf
(17.29 KiB) Downloaded 265 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Going Crazy on a Direction tree

Post 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.matrixtsl.com/mmforums/viewt ... 57&#p59557
&
http://www.matrixtsl.com/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.
Attachments
Segment control Flowcode V2b.fcf
(15.71 KiB) Downloaded 254 times
Segment control Flowcode V2a.fcf
(15.76 KiB) Downloaded 243 times
Martin

User avatar
JLeith
Posts: 537
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 146 times
Been thanked: 26 times
Contact:

Re: Going Crazy on a Direction tree

Post 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

Post Reply