Lab 2 Bobby (Frankenlite)


PART A

 

1a. to change the blinking speed we have two Delay() values to change. Depending on which one we modify we can say how long the light stays on and how long it stays off.

1b. We must add a resistor to make sure we don't overdrive the LED (current or voltage)

 

2a. ledPin = 13; means the onboard LED would be toggled. I wanted the external LED on pin 9 to light up so... ledPin = 9;

 

Video:

f-light_bobby_lab2.mp4