Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
ws281x_constants.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Marian Buschsieweke
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
36
#define WS281X_T_DATA_NS (1250U)
37
42
#define WS281X_T_DATA_ONE_NS (650U)
43
#define WS281X_T_DATA_ZERO_NS (325U)
45
52
#define WS281X_T_END_US (80U)
54
62
#define WS281X_OFFSET_R (1U)
66
#define WS281X_OFFSET_G (0U)
70
#define WS281X_OFFSET_B (2U)
72
73
#ifdef __cplusplus
74
}
75
#endif
76
Generated on Mon Sep 15 2025 13:46:12 by
1.13.2