Compiler Warning

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times

Compiler Warning

Post by Ron »

Hi,

I have only connected 6 of the 8 switches in the switch(0) component macro. I get a compiler warning message that the program might not run properly.

Is the fact that I did not connect ALL the component switches going to cause the program to run wrong, or is this simply a warning to make sure I did not forget to connect some of the switches?

I would think that not connecting the switches would not cause a problem as long as they are either "pulled up" or "pulled down".

Is this correct?

Thanks

Ron

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello Ron

The warning is indeed simply saying that not all switches are connected. A simple way to remove this warning it to go to the switch component properties and reducing the number of switches.

Post Reply