diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-12-03 10:35:55 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-12-03 10:35:55 -0700 |
commit | f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642 (patch) | |
tree | d9f570c228268dfa0ecc31ad15579d412b953a6f /include/ws2812b.h | |
parent | a15656b399689d0c7b12963a718729bea9b6dfcc (diff) | |
download | ch573-f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642.tar.gz ch573-f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642.tar.bz2 ch573-f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642.zip |
Basic Christmas light implementation!
Diffstat (limited to 'include/ws2812b.h')
-rw-r--r-- | include/ws2812b.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ws2812b.h b/include/ws2812b.h index cb10979..e814b65 100644 --- a/include/ws2812b.h +++ b/include/ws2812b.h @@ -4,11 +4,11 @@ #include <stdlib.h> #define WIRE_BYTES_PER_COLOR 9 -#define PADDING_BYTES 0 +#define PADDING_BYTES 1 #define TOTAL_BYTES_PER_LED (PADDING_BYTES + WIRE_BYTES_PER_COLOR) enum ws2812b_byte_order { - BYTE_ORDER_BGR = 0, + BYTE_ORDER_RGB = 0, BYTE_ORDER_GBR = 1, }; |