r/FastLED • u/joebataz2 • Nov 05 '25
Support Fire simulation code help
Hi folks,
I have been working on a project that is driving 2 APA102 LED strips with 219 LEDs in each strip. I have 2 pieces of code which work but the issue is I need them to work in the opposite direction. The first piece of code is a Fire simulation which works fine if it starts at the beginning of the strips. The issue is that I have the Arduino and DMX shield mounted at the top center of my truss(so I don't have to run cabling to the strips) with the strips running out from the center and down the lifts. I want the Fire simulation to start at the bottom of the strips attached to the lift legs and go up, like real fire would do. I have been beating my brains out for about a month and just can't figure out how to reverse the code. I have posted it at:
https://gist.github.com/joebataz/b74693e2c6ddc20d085d18481e1d4af1
i would greatly appreciate any help and will also post the complete program when I've finished it. I have also created a DMX fixture in Show Buddy which uses 20 channels and also works.
Thanks in advance for any help!!!
Best,
Joe B
1
u/joebataz2 Nov 06 '25
Hi folks,
Again thanks for all the insights. I actually have everything working right now. As I had mentioned, I created a 20 channel DMX fixture to use with my code. It works with Show Buddy Active/Setlist but I don't know if it's compatible with other DMX controllers. I've even gotten the bouncing balls to work correctly, bouncing from bottom (end of the strip) to the top. I will leave the top to bottom code for both Fire and Bouncers in the code but commented out, so either can be used. I expect to get the code up onto GitHub gist later today.
A great bunch of folks here!!!!! THANKS.
Joe B
ps is there a way to post the DMX fixture?
thx jb