Change AddressableLED example to use consistent PWM port (#2168)

This commit is contained in:
sciencewhiz
2019-12-11 15:39:36 -08:00
committed by Peter Johnson
parent 023c088290
commit b468c51251
2 changed files with 3 additions and 3 deletions

View File

@@ -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