An Arduino is a micro controller, that can complete a circuit and uses simple code. A potentiometer is a analog input device that can have many settings. On a led you will see analog or digital output. A potentiometer is an analog input that has many different settings. The input can be converted to another set of numbers using the map code. I also used the print code to produce another window where I could see the input of the photoresister. I also made a hand that waves with a servo. I just copied someone else’s code that used a library. Then i just changed some numbers to suit my needs.