mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Change AddressableLED example to use consistent PWM port (#2168)
This commit is contained in:
committed by
Peter Johnson
parent
023c088290
commit
b468c51251
@@ -19,9 +19,9 @@ public class Robot extends TimedRobot {
|
||||
|
||||
@Override
|
||||
public void robotInit() {
|
||||
// PWM port 0
|
||||
// PWM port 9
|
||||
// Must be a PWM header, not MXP or DIO
|
||||
m_led = new AddressableLED(0);
|
||||
m_led = new AddressableLED(9);
|
||||
|
||||
// Reuse buffer
|
||||
// Default to a length of 60, start empty output
|
||||
|
||||
Reference in New Issue
Block a user