WS2812_RMT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Namespaces
ws2812_rmt.hpp File Reference

WS2812_RMT driver: the one header to include. More...

#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "ws2812_rmt_detail.hpp"
#include "ws2812_rmt_functions.hpp"
#include "ws2812_rmt_gamma.hpp"
#include "ws2812_rmt_gpio_interface.hpp"
#include "ws2812_rmt_types.hpp"
#include "ws2812_rmt_version.h"
#include "../src/ws2812_rmt.ipp"

Go to the source code of this file.

Classes

class  ws2812_rmt::Ws2812Rmt< Port, PixelCapacity >
 Driver for one strip of up to PixelCapacity single-wire addressable LEDs. More...
 

Namespaces

namespace  ws2812_rmt
 The WS2812_RMT driver: everything it declares lives here; internals in detail.
 

Detailed Description

WS2812_RMT driver: the one header to include.

ws2812_rmt::Ws2812Rmt<Port, PixelCapacity> drives a strip of single-wire addressable LEDs (WS2812, SK6812 and compatible) through a port that sends a timed bit stream (on ESP32 the RMT peripheral). It owns the pixel and wire buffers (fixed capacity, no heap), builds the byte stream, resolves the waveform from the datasheet windows and the port's real tick rate, and checks arguments. No SDK, no heap, no exceptions, no lock.