Go Down

Topic: problem fading and blinking leds simultaneously with millis (Read 1 time) previous topic - next topic


And to further try to help you understand the problem, the delay(50) I suggested was merely to illustrate that your LEDs are in fact blinking on and off in sequence, and not all at once.  So if you remove that delay you will once again get what would appear to be a smooth fade on pin 10, however that's merely an illusion.  Because of your for loop, the fade gets interrupted every 13 cycles.

You should rethink how you're delaying the blinking and not interrupt the fade at the same time.


Awesome.  Work on it a bit, and post your findings.

Go Up