Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a traffic light with your launchpad (MSP430G2553, assembly language) with the following specifications: 1) It will operate like a regular traffic light, cycling from

Create a traffic light with your launchpad (MSP430G2553, assembly language) with the following specifications:

1) It will operate like a regular traffic light, cycling from green to yellow to red and back to green.

2) The timing of each light: green and red lights will be one for 10 seconds each. The yellow light will be active for 5 seconds

3) Green LED = Green light; Red LED = red light; Both LEDs = yellow light

4) Add a "sensor" input (button push), that will simulate crosswalk signal. When the button is pushed, the system will wait 1 second, then transisition to yellow and then to red.

5) The sensor input should only be recognized 1 time per minute and must not cause a transition within that time.

Helpful guidelines: You should use interrupts and a Low power mode for this project, do not use delay cycles You should use at least 1 TimerA for the light cycles You can change the number in CCRO when the timer is stopped, or setup multiple interrupts with CCR1 and CCR2. There is no power requirement, so you may choose the SMCLK or ACLK for your timers Since button bounce should have no impact on the performance, you can probably ignore it.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago