From 6f23d32fe19ecb27839fb13b0711bf8e70d7c770 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Wed, 20 Dec 2023 20:32:16 -0800 Subject: [PATCH] [wpilib] AddressableLED: Update warning about single driver (NFC) (#6069) Say that multiple strips can be used in series. --- wpilibc/src/main/native/include/frc/AddressableLED.h | 4 +++- .../src/main/java/edu/wpi/first/wpilibj/AddressableLED.java | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/AddressableLED.h b/wpilibc/src/main/native/include/frc/AddressableLED.h index 198eb6770c..26738bbbfd 100644 --- a/wpilibc/src/main/native/include/frc/AddressableLED.h +++ b/wpilibc/src/main/native/include/frc/AddressableLED.h @@ -22,7 +22,9 @@ namespace frc { * By default, the timing supports WS2812B LEDs, but is configurable using * SetBitTiming() * - *

Only 1 LED driver is currently supported by the roboRIO. + *

Only 1 LED driver is currently supported by the roboRIO. However, + * multiple LED strips can be connected in series and controlled from the + * single driver. */ class AddressableLED { public: diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/AddressableLED.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/AddressableLED.java index 61a2fa6560..bb097ab94f 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/AddressableLED.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/AddressableLED.java @@ -14,7 +14,8 @@ import edu.wpi.first.hal.PWMJNI; * *

By default, the timing supports WS2812B LEDs, but is configurable using setBitTiming() * - *

Only 1 LED driver is currently supported by the roboRIO. + *

Only 1 LED driver is currently supported by the roboRIO. However, multiple LED strips can be + * connected in series and controlled from the single driver. */ public class AddressableLED implements AutoCloseable { private final int m_pwmHandle;