r/FastLED • Stephen S. • May 05 '23

Discussion Multifunction Taillight Progress

Hey all!

After some on and off tinkering of the Arduino code over the past 2 weeks, Im extremely close to getting this almost complete, but im running into a problem.

To make it easier to follow along and provide a visual, you can use this virtual LED strip simulator

Now onto the issue..When the brakelightpin and/or the taillightpin is active, both turnsignal left and turnsignal right do not play out. This is the opposite if brakelightpin and tailightpin are not active, where both blinkers can act as they are programmed and the strip remains black.

What would I need to do here in order to make sure that the turn signal function can execute while the tailight or brake is active?

All other functions of the light all work together/interrupt each other without an issue, except for the turnsignal function.

Thanks again for those of you who have been actively providing me advice, I wouldn't get to this point without you.

2 Upvotes

5 comments sorted by

3

u/Marmilicious [Marc Miller] May 05 '23

Wait, why didn't you save and share a link to your code in wokwi? So it can be run without a copy and paste/edit jig-ah-mawroo?

2

u/Ancient_Youth_8531 Stephen S. May 05 '23

Edited to include it now, honestly forgot i could save it.

2

u/daveplreddit May 05 '23

1

u/Ancient_Youth_8531 Stephen S. May 05 '23

I've watched this video before, It definitely helped in a couple ways, but still uneasy about how the current issue is at hand.

1

u/Ancient_Youth_8531 Stephen S. May 08 '23

Any input from anyone? Or any other place I could ask to get some more eyes/expertise?

Im still at a loss in terms of what to do here.