Arrch:
if ( (doNothingFlag == 0) && (now - lastCycleTime < mixer))
{
diming = random(10,100);
analogWrite(led, random(srumble,brumble));//Turn on LED for short or long burst
delay(diming);//random number
}}
This can be done without the delay if you change the second condition to check if it's been at least diming time since it was last run.
That delay is to set the length of time between voltage changes to the light inside a lightning strike I don't want it to effect the time limit on the loop. If I put it in the second line won't it stop the loop after the value is surpassed?