hockey22
March 31st, 2009, 03:02 PM
I really need help asap! I posted before with the traffic light program but didn't put it all. I need to create a program with the HC11 that will:
Write a program to control a traffic light. It will have only two valid conditions.
• N-S Green while E-W is Red for 30 seconds
• E-W is Green while N-S is Red for 30 seconds
• Using assembler directives
• The delay of 30 seconds should be a subroutine
Advanced Green
• A turning light (advanced) will turn on in the north direction prior to the main north-south green light turning on when AD1 registers 70% of full scale
Fireservice Override
• When the XIRQ input is true all lights will immediately turn red and stay red while XIRQ is true
If anyone could help me that would be great!
Write a program to control a traffic light. It will have only two valid conditions.
• N-S Green while E-W is Red for 30 seconds
• E-W is Green while N-S is Red for 30 seconds
• Using assembler directives
• The delay of 30 seconds should be a subroutine
Advanced Green
• A turning light (advanced) will turn on in the north direction prior to the main north-south green light turning on when AD1 registers 70% of full scale
Fireservice Override
• When the XIRQ input is true all lights will immediately turn red and stay red while XIRQ is true
If anyone could help me that would be great!