This commit is contained in:
samuel desharnais 2024-02-08 18:36:48 -05:00
parent 6f12bd08ae
commit afafcab866

View File

@ -12,7 +12,7 @@ public class LED extends SubsystemBase {
/** Creates a new LED. */ /** Creates a new LED. */
public LED() {} public LED() {}
AddressableLED led = new AddressableLED(9); AddressableLED led = new AddressableLED(9);
AddressableLEDBuffer ledBuffer = new AddressableLEDBuffer(60); AddressableLEDBuffer ledBuffer = new AddressableLEDBuffer(150);
public void led(){ public void led(){
led.setData(ledBuffer); led.setData(ledBuffer);
led.start();} led.start();}