Our team is currently trying to use Rev blinkins to control LEDs. The code is sending a PWM signal but the blinkin still has a flashing blue status light meaning that it doesn’t have a valid PWM signal. The live window shows that its sending a PWM value of 1437. Here is the code we are using to control the blinkin Skip-5.12/src/main/java/frc/robot/Feedback/LED at master · WHS-FRC-3467/Skip-5.12 · GitHub
2 Likes
I believe the documentation says to use a new Spark(Id)
2 Likes
Like legoguy1000 said, your BlinkinDriver class should probably either extend or construct the PWM Spark class instead of trying to deal with the PWM controls yourself
1 Like
We tried spark earlier in the season but it wasn’t working. Turns out the PWM wire was just plugged in backwards, but the code works.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.