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
Compiler Warning
- 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:
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel