Arduino – pulse a LED with a cosine wave function
solarianprogrammer.com