WS2812 RMT Driver
API reference
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
ws2812_cpp.hpp File Reference

C++ wrapper for the HF-WS2812 RMT LED driver. More...

#include "rmt_wrapper.hpp"
#include "ws2812_control.h"
#include "ws2812_version.h"
#include <cstdint>
#include <vector>
Include dependency graph for ws2812_cpp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WS2812Strip
 C++ convenience wrapper for a chain of WS2812 LEDs. More...
 

Enumerations

enum class  LedType { RGB , RGBW }
 

Functions

const char * GetWS2812DriverVersion () noexcept
 Get the WS2812 driver version string (free function).
 

Detailed Description

C++ wrapper for the HF-WS2812 RMT LED driver.

Enumeration Type Documentation

◆ LedType

enum class LedType
strong

LED colour encoding.

Enumerator
RGB 
RGBW 

Function Documentation

◆ GetWS2812DriverVersion()

const char * GetWS2812DriverVersion ( )
inlinenoexcept

Get the WS2812 driver version string (free function).