Jishnu Datta's Lab 2


1a. What line(s) of code do you need to change to make the LED blink (like, at all)?

     int led = 13;

b. What line(s) of code do you need to change to change the rate of blinking?

     delay(1000);

     This delay, on either side, controls how long the LED is on or off and therefore by changing either delay, you change the rate of blinking.

     

c. What circuit element would you want to add to protect the board and LED?

     I need a resistor to protect the board, so that the current is not extremely high and does not damage the board/ LED through heat.