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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user