Difference between revisions of "Component: LED Multicolour RGB (5mm, PCB) ()"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Component Source Code== | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_RGB_LED_5mm.fcfx FC_Comp_Source_RGB_LED_5mm.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_RGB_LED_5mm.fcfx FC_Comp_Source_RGB_LED_5mm.fcfx] | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_RGB_LED_5mm.fcfx FC_Comp_Source_RGB_LED_5mm.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 42: | Line 46: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 64: | Line 70: | ||
==Macro reference== | ==Macro reference== | ||
+ | |||
+ | |||
+ | |||
+ | ==Property reference== | ||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Pin Connections | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
+ | | width="90%" | Red | ||
+ | |- | ||
+ | | colspan="2" | Pin that the red LED is connected to. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
+ | | width="90%" | Green | ||
+ | |- | ||
+ | | colspan="2" | Pin that the green LED is connected to. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
+ | | width="90%" | Blue | ||
+ | |- | ||
+ | | colspan="2" | Pin tha the Blue pin is connected to. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Misc | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Polarity | ||
+ | |- | ||
+ | | colspan="2" | Active High: Use for common cathode LEDs - Pin true = LED On. Active Low: Use for common anode LEDs - Pin false = LED On. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Color bit size | ||
+ | |- | ||
+ | | colspan="2" | Color bit depth. Sets the resolution of the virtual PWM signals driving the LEDs. Lower values mean that the 'Tick' macro can be called less often, but reduced the number of colours that can be created. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Rollover value | ||
+ | |- | ||
+ | | colspan="2" | The number of unique colours each R/G/B channel can output. Range: 0 to (Rollover Value - 1). | ||
+ | |}==Macro reference== | ||
Revision as of 15:24, 20 January 2023
Author | Matrix |
Version | 1.2 |
Category |
Contents
LED Multicolour RGB (5mm, PCB) component
A simulatable RGB LED in a standard 5mm through-hole PCB mount package. Three port pins each output a simple PWM signal - one for each of the primary colours. The colors can then be mixed in any proportions to allow the desired color to be produced.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_RGB_LED_5mm.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_RGB_LED_5mm.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Property reference
==Macro reference==
Property reference
==Macro reference==