|
LightHub 4.6.0
Open-source smart home controller firmware
|
#include <Arduino.h>Go to the source code of this file.
Classes | |
| class | StatusLED |
| RGB status LED controller. More... | |
Macros | |
| #define | ledRED 1 |
| LED pattern bit: red component on. | |
| #define | ledGREEN 2 |
| LED pattern bit: green component on. | |
| #define | ledBLUE 4 |
| LED pattern bit: blue component on. | |
| #define | ledBLINK 8 |
| LED pattern bit: blink at the normal rate. | |
| #define | ledFASTBLINK 16 |
| LED pattern bit: blink at the fast rate. | |
| #define | ledParams (ledRED | ledGREEN | ledBLUE | ledBLINK | ledFASTBLINK) |
| Mask of all steady/blink pattern bits. | |
| #define | ledFlash 32 |
| Internal flag: show the pattern once (flash). | |
| #define | ledHidden 64 |
| Internal flag: LED is currently in the "hidden" (off) blink phase. | |
| #define | pinRED 50 |
| #define | pinGREEN 51 |
| #define | pinBLUE 52 |
| #define | ledDelayms 1000UL |
| Blink period in milliseconds (normal rate). | |
| #define | ledFastDelayms 300UL |
| Blink period in milliseconds (fast rate). | |
| #define ledBLINK 8 |
LED pattern bit: blink at the normal rate.
| #define ledBLUE 4 |
LED pattern bit: blue component on.
| #define ledDelayms 1000UL |
Blink period in milliseconds (normal rate).
| #define ledFASTBLINK 16 |
LED pattern bit: blink at the fast rate.
| #define ledFastDelayms 300UL |
Blink period in milliseconds (fast rate).
| #define ledFlash 32 |
Internal flag: show the pattern once (flash).
| #define ledGREEN 2 |
LED pattern bit: green component on.
| #define ledHidden 64 |
Internal flag: LED is currently in the "hidden" (off) blink phase.
| #define ledParams (ledRED | ledGREEN | ledBLUE | ledBLINK | ledFASTBLINK) |
Mask of all steady/blink pattern bits.
| #define ledRED 1 |
LED pattern bit: red component on.
| #define pinBLUE 52 |
| #define pinGREEN 51 |
| #define pinRED 50 |