Week 3 PCOMP: Digital and Analog Input
Lab 2: Digital Input and Output with an Arduino
After a few stressful days of not being able to connect my Adafruit arduino-type board to my computer, I was able to download the proper drivers and get my arduino working. Here it is with the digital input/output code from the first lab:
Lab 3: Analog In with an Arduino
Here are several different Arduino and analog sensor setups— using a pot as analog input to affect he brightness of an LED; testing the range of the flex sensor, using the flex sensor to control the LED brightness, and finally, using a pot to control the movements of a servo motor.