arduino lab_1 - file · web viewarduino lab_1 last modified by: alfred mazhindu...

6
Figure 1: Connection Required

Upload: dophuc

Post on 03-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Arduino Lab_1 -    file · Web viewArduino Lab_1 Last modified by: Alfred Mazhindu Company: University of Bradford (SoEDT)

Figure 1: Connection Required

Page 2: Arduino Lab_1 -    file · Web viewArduino Lab_1 Last modified by: Alfred Mazhindu Company: University of Bradford (SoEDT)

Figure 2

a) Make light flash with a frequency of 1Hz

Page 3: Arduino Lab_1 -    file · Web viewArduino Lab_1 Last modified by: Alfred Mazhindu Company: University of Bradford (SoEDT)

Figure 3

b) Make light flash with a frequency of 4Hz

Page 4: Arduino Lab_1 -    file · Web viewArduino Lab_1 Last modified by: Alfred Mazhindu Company: University of Bradford (SoEDT)

Figure 4

c) Go back to original code and change it to be a duty cycle of 25% (LED on for 25% off the time) d) Change original code for a duty cycle of 75%

Page 5: Arduino Lab_1 -    file · Web viewArduino Lab_1 Last modified by: Alfred Mazhindu Company: University of Bradford (SoEDT)

Exercise_2

Figure 5