FastLED 3.9.15
Loading...
Searching...
No Matches
ws2803.h
Go to the documentation of this file.
1#pragma once
2#include "fl/stl/noexcept.h"
3
16
17namespace fl {
18
19// Forward declaration of WS2801 encoder
20template <typename InputIterator, typename OutputIterator>
21void encodeWS2801(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT;
22
30template <typename InputIterator, typename OutputIterator>
31void encodeWS2803(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT {
32 // WS2803 uses identical protocol to WS2801
33 encodeWS2801(first, last, out);
34}
35
36} // namespace fl
void encodeWS2801(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
Encode pixel data in WS2801/WS2803 format.
Definition ws2801.h:41
void encodeWS2803(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
Encode pixel data in WS2803 format (alias for WS2801)
Definition ws2803.h:31
Base definition for an LED controller.
Definition crgb.hpp:179
#define FL_NOEXCEPT