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
19
#ifndef WS281X_CONSTANTS_H
20
#define WS281X_CONSTANTS_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
37
#define WS281X_T_DATA_NS (1250U)
38
43
#define WS281X_T_DATA_ONE_NS (650U)
44
#define WS281X_T_DATA_ZERO_NS (325U)
53
#define WS281X_T_END_US (80U)
63
#define WS281X_OFFSET_R (1U)
67
#define WS281X_OFFSET_G (0U)
71
#define WS281X_OFFSET_B (2U)
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* WS281X_CONSTANTS_H */
Generated on Sat Nov 16 2024 04:50:51 by
1.9.8