Keyestudio KS0436 Kit Manual page 52

Table of Contents

Advertisement

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.

Advertisement

Table of Contents
loading

Table of Contents