Altair Embed Arduino - Push Button Control: Introduction to State Charts
Introduction to PWM and its use for dimming an LED