A basic sketch showing the analogWrite function along with basic code showing the brightening and fading of an LED.