The last connection we will make will be the Potentiometer. Take the 4th and final wire and connect it to the POT1 pin, running the other end of the wire to the A1 pin.
The potentiomter produces an analog signal. Unlike the digital HIGH/LOW signal of the push button, the microcontroller and read the voltage from the potetiometer and assign values from 1-###.
We will program the microcontroller to read the analog signal from the potetiometer and asign values that will correlate to two seperate variables. One variable will control the brightness of the LEDs, while the second variable will control the time blink rate of the LEDs.
Note: It is important to understand the difference between Analog and Digital signals, and learn to identify the corresponding components. The MakerShield has 6 analog pins (denoted with a capital A), and 14 digital pins (denoted with a capital D). If you were to plug in the potentiometer to a digital pin the micro-controller would not be able to assgin a value to. Similarly, if you plug in BTN1 to an analog pin the button would not function properly.
We'll assume you're ok with this, but you can opt-out if you wish.