Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

BLINKING LED SEQUENCE Use the IAR IDE tool and the LaunchPad board with the MSP430G2553 device to do the following: create a C language program

BLINKING LED SEQUENCE

Use the IAR IDE tool and the LaunchPad board with the MSP430G2553 device to do the following: create a C language program to operate with the LaunchPad board.

Leftmost Pushbutton (P1.3) has NOT been pressed:

The RED and GREEN LEDs are both OFF Leftmost Pushbutton pressed briefly, then released:

For the second part: The Leftmost Pushbutton (P1.3) is pressed briefly, then released:

you will need to use the two-digit number 22. Both LEDs will be OFF initially. The GREEN LED (P1.6) will turn ON, then OFF, such that it turns ON the number of times for the 1s digit of the assigned number for this program. AFTER the GREEN LED has completed its sequence and is in the OFF state, then the RED (P1.6) LED will turn ON, then OFF, such that it turns ON the number of times for the 10s digit of the number assigned to you for this project.

Timing: GREEN LED(P1.6) turns ON for approximately 500 mS, then OFF for approximately 500 mS until it has completed its proper count, then it turns OFF and stays OFF.

Then the RED LED (P1.0) turns ON for approximately 1 full second, then OFF for approximately 1 full second until it has completed its proper count, then it turns OFF and stays OFF. Now, both LEDs will be OFF, unless the leftmost pushbutton is pressed again.

If the pushbutton is pressed again after the above sequence completes, the sequence will repeat. The pushbutton does not have to do anything except when both LEDs are OFF, either at the very beginning or after the blink sequence has completed.

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Students explore these related Databases questions

Question

=+ 9. What is inflation and what causes it?

Answered: 3 weeks ago