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

Function makePixel16

tests/fl/chipsets/encoders/ws2816.hpp:39–41  ·  view source on GitHub ↗

@brief Create a 16-bit RGB pixel array (wire-ordered) @param r 16-bit red channel @param g 16-bit green channel @param b 16-bit blue channel @return fl::array in wire order

Source from the content-addressed store, hash-verified

37/// @param b 16-bit blue channel
38/// @return fl::array<u16, 3> in wire order
39inline fl::array<u16, 3> makePixel16(u16 r, u16 g, u16 b) {
40 return fl::array<u16, 3>{{r, g, b}};
41}
42
43// ============================================================================
44// Helper Functions

Callers 1

ws2816.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected