8/19/2019 ini ha
1/2
WEEK 3
Switch closed Ammeter reading (mA)A 90
A, C 270A, B, C 0!0C !0B !0A, B 900B, C 990
WEEK "
Switch A closed Switch A and B closed#$o c%rrent &asses thro%gh the circ%it
#$o dro& o' oltage across resistor A
#he whole 9* a&&ear across the
ca&acitor
#C%rrent +ow thro%gh the circ%it
#So, "-* dro& across .rst resistor and
"-* dro& across second resistor
#/nl "-* a&&ear across the ca&acitor
8/19/2019 ini ha
2/2
WEEK 7
Measuring Distance Using Sonar Sensorsconst int &ing1in -oid setup()4
Serial5egin(9600)oid loop()4int cm &ing(&ing1in) Serial&rintln(cm)dela(-0 )
iersit8 int &ing(int &ing1in)4long d%ration, cm
&inode(&ing1in, /:1:)digitalWrite(&ing1in, ;/W)delaicroseconds(2)digitalWrite(&ing1in,
Top Related