Page 1 of 1
RGB LED does not work ... at all.
Posted: Sun May 20, 2012 4:07 pm
by iamwhoiam
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
Re: RGB LED does not work ... at all.
Posted: Sun May 20, 2012 4:29 pm
by JohnCrow
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

Re: RGB LED does not work ... at all.
Posted: Sun May 20, 2012 4:43 pm
by iamwhoiam
JohnCrow wrote:Hi
Are you using the FC5 macro? or writing it in FC4
RGB_Test_V1.fcf
This is a flowcode 4 version
Simple RGB.fcf
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

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.
Re: RGB LED does not work ... at all.
Posted: Sun May 20, 2012 4:55 pm
by JohnCrow
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.
Re: RGB LED does not work ... at all.
Posted: Mon May 21, 2012 11:32 am
by DavidA
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