if (Laser = LOW){
if (wire = (wireTotal / LEDs)){ //Detta går att förenkla när jag väl vet hur många slingor
wire == 0;
No. You need to thoroughly understand the differences between the = operator and the == operator, and consistently use the correct one. You have them reversed here.