Go Down

Topic: Combine 2 codes form FastLED and switch with button. (Read 243 times) previous topic - next topic

Chris102209

Aug 06, 2019, 04:42 am Last Edit: Aug 06, 2019, 05:01 am by Chris102209
I am creating an infinity mirror project and would like to combine 2 codes from FastLED's sample library. The reason for this is one sketch is more flashes and the other is calm. I want to combine these to codes so I can press a button and switch between them. led are WS2812B and I am using an Arduino Uno. I am aware it would be easier if I just wrote the code form scratch but, I don't know how to yet. Here are the two codes, one is modified slightly by me and the other is not. If any more information is needed or I posted incorrectly please let me know!


Go Up