7#ifndef PLATFORM_STRIPIMPL_H
8#define PLATFORM_STRIPIMPL_H
13#define NEO_RGB ((0 << 6) | (0 << 4) | (1 << 2) | (2))
14#define NEO_RBG ((0 << 6) | (0 << 4) | (2 << 2) | (1))
15#define NEO_KHZ800 0x0000
29template<
size_t LedCount, u
int8_t ChannelCount>
class LampdaStrip
31 static_assert(ChannelCount == 3 || ChannelCount == 4);
34 static constexpr size_t numLEDs = LedCount;
35 static constexpr uint8_t channelCount = ChannelCount;
46 void setPixelColor(uint16_t n, uint32_t c);
47 uint32_t getPixelColor(uint16_t n)
const;
53 void setPin(int16_t p);
67 static constexpr uint16_t numBytes = LedCount * ChannelCount;
69 static constexpr uint32_t pattern_size = numBytes * 8 + 2;
70 uint16_t pixels_pattern[pattern_size];
73 uint8_t pixels[numBytes];
Program scope.
Definition: control_fixed_modes.hpp:12
uint8_t neoPixelType
3rd arg to Adafruit_NeoPixel constructor
Definition: strip_impl.h:17