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

@@ -14,7 +14,7 @@
class Robot : public frc::TimedRobot {
static constexpr int kLength = 60;
// PWM port 0
// PWM port 9
// Must be a PWM header, not MXP or DIO
frc::AddressableLED m_led{9};
std::array<frc::AddressableLED::LEDData, kLength>