Coding LED's to act as an breaklight via AddressableLED

Hello everyone!

I was wondering if I could get some assistance for coding LED’s that will turn off whenever the robot comes to an stop (aka, a breaklight)

Does anyone have any references or code that would assist me in coding a breaklight on our robot? I would really appreciate it!

Thanks!

Use an accelerometer. If acceleration is negative, you’re slowing down, so illuminate the LEDs.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.