class documentation
Led used to indicate block status.
This controls a NeoString led thats used to indictate overall block status as determined by both current sensing and RailCom channed 1 returns.
| Method | __init__ |
Initialise the Block LED |
| Method | update |
Update led |
| Instance Variable | _oc |
Undocumented |
| Instance Variable | _rc |
Undocumented |
Inherited from NeoLed:
| Method | clear |
Clear a colour from the LED. |
| Method | set |
Set the colour of the LED |
| Method | set |
Set the LED unlit. |
| Constant | COMMS |
Led for communications status |
| Constant | DCC |
Led for DCC status |
| Constant | DEFAULT |
Default Brightness |
| Constant | LED |
Blue |
| Constant | LED |
Green |
| Constant | LED |
Red |
| Instance Variable | _i |
Undocumented |
| Instance Variable | _rgb |
Undocumented |
| Instance Variable | _string |
Undocumented |
overrides
rp2da2.lib.led_pio.NeoLed.__init__Initialise the Block LED
The first LED (0) is comms - block leds start from index 1
| Parameters | |
| block | logical number of the associated block |