Could any one post some timed based java example code for Rev Robotics Blinkin LED.
Codewise, it is identical to a Spark:
Create a Spark object, and write to it as if it was a plain old Spark motor controller. If you have time, create a few enum values with the PWM color values for the colors you use.
This is LED subsystem code my team wrote for the season, I have no idea why we wrote it as a subsystem. We also used the Blinkin.
Be aware that if you are using the 12V led strip and not the 5V addressable LEDs, only some of the patterns will work (the 12V can only write the same value to all LEDs, the 5V can assign each LED a different color).
1 Like
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.