Lab 1) Digital Input and Output with an Arduino

Add a Digital Input(Pushbutton)

Screen Shot 2022-09-18 at 8.33.57 PM.png

Lab 2) Analog Input

Add a potentiometer and LED

IMG_5809.MOV

Screen Shot 2022-09-18 at 9.14.01 PM.png

IMG_5811.MOV

Finding sensor range

Screen Shot 2022-09-18 at 10.10.20 PM.png

IMG_5813.JPG

IMG_5812.MOV

✅ analogWrite range → 0 ~ 255

Lab 3) Sensor Change Detection

Screen Shot 2022-09-18 at 10.23.02 PM.png

Screen Shot 2022-09-18 at 10.23.08 PM.png

Pushbutton’s State Change Detection

Screen Shot 2022-09-18 at 11.01.36 PM.png

IMG_5814.MOV

Count button presses

Screen Shot 2022-09-18 at 11.11.36 PM.png

Long/short press

IMG_5815.MOV

Screen Shot 2022-09-18 at 11.29.46 PM.png

IMG_5816.MOV