Loading...
Searching...
No Matches
ws281x_constants.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Marian Buschsieweke
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
29#define WS281X_OFFSET_R (1U)
33#define WS281X_OFFSET_G (0U)
37#define WS281X_OFFSET_B (2U)
41#define WS281X_OFFSET_W (3U)
43
44#ifdef __cplusplus
45}
46#endif
47