Hey all! I'm hitting a wall with my code.
I am using an arduino mega with a DMX shield (that is intended for uno I think) and a tfmini plus distance sensor. I also have individually addressable LED strips.
I am trying to control which leds are on in a telescoping manner with the distance sensor and the hue/sat/intens with DMX.
I have both parts working separately but when combined the code can't compile with an exit status 1 message. I believe it is an issue with mutual usage of the serial0 but I can't find a way to get around it. Tried a whole bunch of different libraries and all have issues.
It's clunky, I know, tried so many stupid safeguards to prevent blackouts on my leds. Still unsure if that's a physical issue or not but I'm pointing fingers at my crappy solder job.
Code is below. In a moment of weakness, it was run through a chatbot. If it helps, I can provide my working separate code. Anything helps, I'm a total dumbass and I'm frankly tired of this project.…