Updated for analogRead and Analog Write