Homework_Ch2_Checkoff

Homework_Ch2_Checkoff - ME 456 Experiment Hardware Checkoff...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ME 456 Experiment Hardware Checkoff What’s A Microcontroller? Chapter 2 –Project. Make an automatic streetlight timer. Assume that drivers from both north and south can see the lights made by the green, yellow, and red LED circuits to P13, P14, and P15. Make another bank of LEDs connected to P3, P4, and P5 that control east-west traffic. Write a program that gives the north-south traffic 30 seconds, then a 10 second yellow, followed by a 40 second red. When the north south traffic is red, the east-west traffic should be green for 30 seconds and yellow for ten seconds, then red for 40 seconds. Keep in mind that if this is a real traffic controller, you would be responsible for traffic problems if both red lights stay on for any length of time. If both green lights are on at the same time, you could cause a car accident. This project functions: Name: _______________________________________ Date: _______________________________________ Note: STAPLE to this coversheet, all your answers to all 1) “Projects” 2) “Questions” 3) “Exercises” 4)”All
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What’s a Microcontroller? - Chapter 2 Homework Solutions
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/25/2008 for the course ME 456 taught by Professor Radcliffe during the Fall '07 term at Michigan State University.

Page1 / 3

Homework_Ch2_Checkoff - ME 456 Experiment Hardware Checkoff...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online