aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2020-06-19 22:35:32 +0000
committerGitHub <noreply@github.com>2020-06-20 08:35:32 +1000
commitc7851484457e5ab604962ae7c914b863b8de0cb2 (patch)
treef2fbfc27c8adf8de4a242392ca979561287dc62a /docs
parentb43bdc1c69bb5a57976a159bfc00c4ac1c7c7f8f (diff)
downloadfirmware-c7851484457e5ab604962ae7c914b863b8de0cb2.tar.gz
firmware-c7851484457e5ab604962ae7c914b863b8de0cb2.tar.bz2
firmware-c7851484457e5ab604962ae7c914b863b8de0cb2.zip
STM32 WS2812 Open Drain Configuration (#9414)
* update docs stm32 only and applies to all 3 driver * cformat
Diffstat (limited to 'docs')
-rw-r--r--docs/ws2812_driver.md11
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
| f401/f411 | :heavy_check_mark: |
*Other supported ChibiOS boards and/or pins may function, it will be highly chip and configuration dependent.*
+
+### Push Pull and Open Drain Configuration
+The default configuration is a push pull on the defined pin.
+This can be configured for bitbang, PWM and SPI.
+
+Note: This only applies to STM32 boards.
+
+ To configure the `RGB_DI_PIN` to open drain configuration add this to your config.h file:
+```c
+ #define WS2812_EXTERNAL_PULLUP
+```