Hi there. This is simple. I have a simple "while 1" loop, and inside it, I have set the value "2" to PORTA, and to PORTA is connected an RGB LED... and it doesn't light AT ALL.
Ideas?
Thanks
RGB LED does not work ... at all.
Moderator: Benj
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: RGB LED does not work ... at all.
Hi
Are you using the FC5 macro? or writing it in FC4
This is a flowcode 4 version My flowcharts are set to use PortD but it can easilly be moved to Port B
Bit 1 = Red
Bit 2 = Green
Bit 3 = Blue
Dont forget you need a current control resistor for each colour, a single resistor in the negative line is not advisable, even though it may look like it will work
Are you using the FC5 macro? or writing it in FC4
This is a flowcode 4 version My flowcharts are set to use PortD but it can easilly be moved to Port B
Bit 1 = Red
Bit 2 = Green
Bit 3 = Blue
Dont forget you need a current control resistor for each colour, a single resistor in the negative line is not advisable, even though it may look like it will work

1 in 10 people understand binary, the other one doesn't !
Re: RGB LED does not work ... at all.
Thanks, but I am talking about the limitations and bugs in the software; I have no doubt in the laws of physics. The LED is the simulated one, NOT a physical one.JohnCrow wrote:Hi
Are you using the FC5 macro? or writing it in FC4
This is a flowcode 4 version My flowcharts are set to use PortD but it can easilly be moved to Port B
Bit 1 = Red
Bit 2 = Green
Bit 3 = Blue
Dont forget you need a current control resistor for each colour, a single resistor in the negative line is not advisable, even though it may look like it will work
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: RGB LED does not work ... at all.
Hi
The RGB led simulates fine in FC5.2
The component is not available in FC4 so has to be simulated using 3 seperate LEDs
It would be easier to see what you mean "it does'nt work at all" if you can post your flowchart.
The RGB led simulates fine in FC5.2
The component is not available in FC4 so has to be simulated using 3 seperate LEDs
It would be easier to see what you mean "it does'nt work at all" if you can post your flowchart.
1 in 10 people understand binary, the other one doesn't !
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: RGB LED does not work ... at all.
Hi since this is discussing the RGB component in v5 ill move it to the v5 forums, if you require v5 forum membership please PM me with the last 6 characters of your v5 licence code