Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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)
45
53
#define WS281X_T_END_US (80U)
54
63
#define WS281X_OFFSET_R (1U)
64
67
#define WS281X_OFFSET_G (0U)
68
71
#define WS281X_OFFSET_B (2U)
72
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* WS281X_CONSTANTS_H */
79
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17