diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2020-06-19 22:35:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 08:35:32 +1000 |
commit | c7851484457e5ab604962ae7c914b863b8de0cb2 (patch) | |
tree | f2fbfc27c8adf8de4a242392ca979561287dc62a /docs/ws2812_driver.md | |
parent | b43bdc1c69bb5a57976a159bfc00c4ac1c7c7f8f (diff) | |
download | qmk_firmware-c7851484457e5ab604962ae7c914b863b8de0cb2.tar.gz qmk_firmware-c7851484457e5ab604962ae7c914b863b8de0cb2.zip |
STM32 WS2812 Open Drain Configuration (#9414)
* update docs stm32 only and applies to all 3 driver
* cformat
Diffstat (limited to 'docs/ws2812_driver.md')
-rw-r--r-- | docs/ws2812_driver.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ws2812_driver.md b/docs/ws2812_driver.md index 51b053b9b..fe5f88585 100644 --- a/docs/ws2812_driver.md +++ b/docs/ws2812_driver.md | |||
@@ -99,3 +99,14 @@ While not an exhaustive list, the following table provides the scenarios that ha | |||
99 | | f401/f411 | :heavy_check_mark: | | 99 | | f401/f411 | :heavy_check_mark: | |
100 | 100 | ||
101 | *Other supported ChibiOS boards and/or pins may function, it will be highly chip and configuration dependent.* | 101 | *Other supported ChibiOS boards and/or pins may function, it will be highly chip and configuration dependent.* |
102 | |||
103 | ### Push Pull and Open Drain Configuration | ||
104 | The default configuration is a push pull on the defined pin. | ||
105 | This can be configured for bitbang, PWM and SPI. | ||
106 | |||
107 | Note: This only applies to STM32 boards. | ||
108 | |||
109 | To configure the `RGB_DI_PIN` to open drain configuration add this to your config.h file: | ||
110 | ```c | ||
111 | #define WS2812_EXTERNAL_PULLUP | ||
112 | ``` | ||