Code:
https://www.arduino.cc/en/tutorial/BlinkWithoutDelay
Code:
https://forum.arduino.cc/index.php?topic=423688.0
MfG