52
We use the analogRead() function to read the value on an analog pin.
Serial.println(val);
This is the line that actually prints the trimpot value to the monitor.
You should see the LED brighter or dim in accordance with your
What You Will See:
potentiometer.