CSC270 Lab 11 2016

From dftwiki3
Revision as of 07:57, 16 April 2016 by Thiebaut (talk | contribs)
Jump to: navigation, search

--D. Thiebaut (talk) 08:37, 16 April 2016 (EDT)



Part 1


Refer to the following examples taken from the Arduino Tutorial pages, and redo each one of them.


Part 2


Implement a Green/Yellow/Red traffic light sequencer with the Arduino. Use 3 LEDs with 3 pull-up resistors. Add a switch, and program the Arduino so that if the switch is in one position, the red LED blinks ON and OFF every second. If the switch is in the other position, the LEDs go green first, then yellow, then red, then green again, etc, each one staying on for 1 second.

Report


Your lab report should contain:

  • A reference to the Web page containing a description of the project you built.
  • A picture of your project, including the Arduino.
  • The schematics of your project.
  • A listing of your C program (sketch)
  • Your observations (did it work, well, any surprises?)

Submit the pdf of your report on Moodle.