Week 2: Sep 21, 2022
Lab Digital Input and Output with an Arduino
1- Adding Digital Inputs
Inclass : Learned the application called “Fritzing” : software that allows build more permanent circuits from prototypes.
︎︎︎![]()
Add Digital Outputs (LEDs)
1- Program the Arduino

Analog In with an Arduino
1 - Add a Potentiometer and LED

2 - Two FSR (force-sensing resistors) and two LEDs attached to an Arduino.
First I had to understand the Arduino nano pin out value for the Numbering part.
![]()
First try: I didn’t got the fading effect ( Red light just on and off becuase of NOT using pulse one.)

Second Try: works well!
In class lab
LED Lighting up
![]()
![]()
one LED
![]()
![]()
both LED blinking together
![]()
![]()
one led is flashing and the other led is flashing and it is happening at the same time
![]()
![]()
#define delayAmount 100 -> faster

