| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Jishnu Datta's Lab 2

Page history last edited by Vivien Tsao 7 years, 3 months ago

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.

Comments (2)

Vivien Tsao said

at 12:22 am on Jul 15, 2013

Where's the rest of the lab?

Jishnu Datta said

at 2:21 pm on Jul 15, 2013

Sorry, I joined the class 1 week late and am still working on the labs, I also forgot to make the folder with my last name so I made a new one today. I will complete the two labs by next week.

You don't have permission to comment on this page.