From e07fbc17a014362c64e6d0bb08fbb47b93c67477 Mon Sep 17 00:00:00 2001 From: tzarc Date: Fri, 15 Jan 2021 21:44:29 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=203d70766327422bcd918b6940298f7557ab10d248=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ws2812_driver.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ws2812_driver.md b/ws2812_driver.md index da5db01dbde..cca6827ec8d 100644 --- a/ws2812_driver.md +++ b/ws2812_driver.md @@ -33,10 +33,11 @@ The default setting is 280 µs, which should work for most cases, but this can b Some variants of the WS2812 may have their color components in a different physical or logical order. For example, the WS2812B-2020 has physically swapped red and green LEDs, which causes the wrong color to be displayed, because the default order of the bytes sent over the wire is defined as GRB. In this case, you can change the byte order by defining `WS2812_BYTE_ORDER` as one of the following values: -| Byte order | Known devices | -|-----------------------------------|-------------------------------| -| `WS2812_BYTE_ORDER_GRB` (default) | Most WS2812's, SK6812, SK6805 | -| `WS2812_BYTE_ORDER_RGB` | WS2812B-2020 | +|Byte order |Known devices | +|---------------------------------|-----------------------------| +|`WS2812_BYTE_ORDER_GRB` (default)|Most WS2812's, SK6812, SK6805| +|`WS2812_BYTE_ORDER_RGB` |WS2812B-2020 | +|`WS2812_BYTE_ORDER_BGR` |TM1812 | ### Bitbang