MCPcopy Create free account
hub / github.com/FastLED/FastLED / makeRGBPixel

Function makeRGBPixel

tests/fl/chipsets/encoders/ws2801.hpp:38–40  ·  view source on GitHub ↗

Helper to create RGB pixel array in wire order

Source from the content-addressed store, hash-verified

36
37/// Helper to create RGB pixel array in wire order
38fl::array<u8, 3> makeRGBPixel(u8 r, u8 g, u8 b) {
39 return {r, g, b};
40}
41
42/// Helper to verify output contains expected RGB bytes at offset
43void verifyRGBAt(const fl::vector<u8>& output, size_t offset, u8 r, u8 g, u8 b) {

Callers 1

ws2801.hppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected