Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
LUMITRONIX_iFlexWorkshop_Pro.h
Go to the documentation of this file.
1 #ifndef HEADER_LUMITRONIX_IFLEX_WORKSHOP_PRO
2 #define HEADER_LUMITRONIX_IFLEX_WORKSHOP_PRO
3 
4 
5 #include "LumitronixIFlexBusLg.h"
6 
7 
8 static constexpr auto LUMITRONIX_IFLEX_WORKSHOP_ECO_LEDS{300};
9 static constexpr auto LUMITRONIX_IFLEX_WORKSHOP_ECO_PIN{0};
10 
11 static constexpr auto LUMITRONIX_IFLEX_WORKSHOP_PRO_LEDS{11};
12 static constexpr auto LUMITRONIX_IFLEX_WORKSHOP_PRO_PIN{2};
13 
14 
15 class LUMITRONIX_iFlexPro final : public LumitronixIFlexBusLg<NeoWrgbTm1814Feature, NeoTm1814InvertedMethod> {
16 public:
17  explicit LUMITRONIX_iFlexPro(uint16_t leds, uint8_t pin) : LumitronixIFlexBusLg<NeoWrgbTm1814Feature, NeoTm1814InvertedMethod>{leds, pin} {
18  }
19 
24  void Begin() final override {
25 
38  });
39 
41  }
42 
43  void SetPixelColor(uint16_t led, uint8_t red, uint8_t green, uint8_t blue, uint8_t white) {
44  SetPixelColor(led, RgbwColor{red, green, blue, white});
45  }
46 
47  void SetPixelColor(uint16_t indexPixel, typename NeoWrgbTm1814Feature::ColorObject color) /*override*/ {
49  }
50 };
51 
52 
53 #endif
54 
Definition: LUMITRONIX_iFlexWorkshop_Pro.h:15
LUMITRONIX_iFlexPro(uint16_t leds, uint8_t pin)
Definition: LUMITRONIX_iFlexWorkshop_Pro.h:17
void SetPixelColor(uint16_t led, uint8_t red, uint8_t green, uint8_t blue, uint8_t white)
Definition: LUMITRONIX_iFlexWorkshop_Pro.h:43
void Begin() final override
Definition: LUMITRONIX_iFlexWorkshop_Pro.h:24
void SetPixelColor(uint16_t indexPixel, typename NeoWrgbTm1814Feature::ColorObject color)
Definition: LUMITRONIX_iFlexWorkshop_Pro.h:47
Definition: LumitronixIFlexBusLg.h:42
void SetPixelColor(uint16_t indexPixel, typename T_COLOR_FEATURE::ColorObject color)
Definition: LumitronixIFlexBusLg.h:146
void SetPixelSettings(const typename T_COLOR_FEATURE::SettingsObject &settings)
Definition: LumitronixIFlexBus.h:318
virtual void Begin()
Definition: LumitronixIFlexBus.h:97
T_COLOR_OBJECT ColorObject
Definition: NeoByteElements.h:41
Definition: NeoTm1814Features.h:30
static const uint16_t MaxCurrent
Definition: NeoTm1814Features.h:38
Definition: NeoTm1814Features.h:101
Definition: RgbwColor.h:38