Component: LED (BL0167) (E-blocks 2)
From Flowcode Help
(Redirected from Component: ID 103aab27 2ea3 483c 9710 fc3c495288a7)
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 7.7 |
| Category | E-blocks 2 |
Contents
LED component
LED component to drive the E-blocks 2 BL0167 LED board. Provides eight individually addressable LEDs.
Version information
Library Version, Component Version, Date, Author, Info 7, 7.0, 23-04-25, MW, Hidden propert to change LED colours as the LEDS on the BL0167 are red 8, 7.0, 08-05-25, BR, Added autodetect port on Ev_PostInitialise
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AllOff
| AllOff | |
| Switches Off All LEDs. | |
| Return | |
AllOn
| AllOn | |
| Switches On All LEDs. | |
| Return | |
BarGraph
| BarGraph | |
| Turns on the first N elements of the array - for generating bar graph metes etc. | |
| Length | |
| How many items to light up. Range 0-8 | |
| Return | |
LEDOff
| LEDOff | |
| Turns off the selected LED leaving the other LEDs as was. | |
| Index | |
| LED to switch off. Range: 0-7 | |
| Return | |
LEDOn
| LEDOn | |
| Turns on the selected LED leaving the other LEDs as was. | |
| Index | |
| LED to switch on. Range: 0-7 | |
| Return | |
PointGraph
| PointGraph | |
| Turns on the Indexed LED and turns all others off. Does nothing if the index is out of range. | |
| Index | |
| The LED to light. Range: 0-7 | |
| Return | |
WriteValue
| WriteValue | |
| Write a number which is presented on the LEDs in binary. | |
| Value | |
| Value to write to the LEDs. Range: 0-255 | |
| Return | |
Property reference
| Properties | |
| Output Mode | |
| Port | |
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EBlocks2_LED_BL0167.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBlocks2_LED_BL0167.fcfx