led
This commit is contained in:
parent
6f12bd08ae
commit
afafcab866
@ -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();}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user