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

Function makeRGBPixel

tests/fl/chipsets/encoders/ws2812.hpp:27–29  ·  view source on GitHub ↗

Helper to create RGB pixel array

Source from the content-addressed store, hash-verified

25
26/// Helper to create RGB pixel array
27fl::array<u8, 3> makeRGBPixel(u8 r, u8 g, u8 b) {
28 return {r, g, b};
29}
30
31/// Helper to create RGBW pixel array
32fl::array<u8, 4> makeRGBWPixel(u8 r, u8 g, u8 b, u8 w) {

Callers 1

ws2812.hppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected