Fade

In this Arduino example we can see how the led intensity fades from 0 to 255 and then back to 0, we can control the speed of this variation with the fade amount and the delay

Course