Question

using code composer studio Write a program for the msp430FR6989 to make led1 and led 2...

using code composer studio Write a program for the msp430FR6989 to make led1 and led 2 alternate blinking 2. repeat the program to make each led blink 5 times in a sequence, then 5 times simultaneously

0 0
Add a comment Improve this question Transcribed image text
Answer #1

program is shown below:

Add a comment
Know the answer?
Add Answer to:
using code composer studio Write a program for the msp430FR6989 to make led1 and led 2...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • MSP430FR6989 code composer studio Write a program that will light LED1, whenever S1 is pressed. It...

    MSP430FR6989 code composer studio Write a program that will light LED1, whenever S1 is pressed. It should turn off whenever S1 is released.

  • C with Switch and LED (12 pts) Write a C program for the MSP 430, using...

    C with Switch and LED (12 pts) Write a C program for the MSP 430, using switch 1 (S1) to control LED1, switch 2 (S2) to control LED2 separately. Use pullup resistors for the switch. LED1 is P1.0, LED2 is P1.1, S1 is P1.6, S2 is P1.7 5. a. b. c. d. if press S1, LED1 is on if press S2, LED2 is on; if press both, both LEDs are on; Make comments on each line of code to explain...

  • Questions 3 Write a Python program that implements the following functionality: 1. Makes an LED blink....

    Questions 3 Write a Python program that implements the following functionality: 1. Makes an LED blink. 2. Then, on a push of a button the blinking stops. 3. Then, on another push of a button the blinking starts again 4. The behavior of steps 2 and 3 keeps repeating whenever the button is pushed. In writing your program, you should use a class, call it Blinkclass, that helps in making the LED blink or not. Connect the needed circuit using...

  • I need help with doing these tasks for code composer Lab 3 - Branching, Push Button...

    I need help with doing these tasks for code composer Lab 3 - Branching, Push Button and LEDs-Reading Assignment in this lab, we are going to control a LED via a push button- using general purpose digital 10 for both input (button) and output (LED) on port 1 - using Code Composer Studio. Furthermore, we are going to use a branch instruction to create an IF-ELSE structure in assembly to determine if the LED should be lit up based on...

  • SOS morse code in C programming 3. Objective The first lab is intended to familiarize the...

    SOS morse code in C programming 3. Objective The first lab is intended to familiarize the student with the software development steps and to learn simple programming structure in C. In this lab you will write a program to blink an LED to send out an SOS Morse code. 4. System Requirements The designed system will blink an SOS Morse code message when a switch input is pressed. The Morse code message should be implemented as follows: .Blinking Morse code...

  • Write an Arduino code to read the current temperature using the LM35 temperature sensor. The code...

    Write an Arduino code to read the current temperature using the LM35 temperature sensor. The code should include the following if the temperature is more than 45 "C: • Turn ON red LED, and after 1 second turn ON the yellow LED, and after another 2 seconds tum On the Green LED. One second later the three LEDS should start blinking (all LEDs OFF for 0.5 seconds, then all LEDS ON for 1 minute), and turn OFF all LEDs after...

  • PLEASE DO IN C# AND MAKE SURE I CAN COPY CODE IN VISUAL STUDIO Program 2:...

    PLEASE DO IN C# AND MAKE SURE I CAN COPY CODE IN VISUAL STUDIO Program 2: Design (pseudocode) and implement (source code) a class called Counter. It should have one private instance variable representing the value of the counter. It should have two instance methods: increment() which adds on to the counter value and getValue() which returns the current value. After creating the Counter class, create a program that simulates tossing a coin 100 times using two Counter objects (Head...

  • Write a program for PIC18F4580 microcontroller to blink the LED at the pin RC0 with the...

    Write a program for PIC18F4580 microcontroller to blink the LED at the pin RC0 with the frequency of 8Hz using the Timer1 overflow interrupt and the LED at the pin RC7 with the frequency of 0.8Hz using the Timer0 overflow interrupt concurrently. (Assume that Fosc = 8MHz.) (1) Choose the prescaler and the initial value for TMR1, respectively. (Round off the numbers.) (2) Choose the prescaler and the initial value for TMR0, respectively. (Round off the numbers.) (3) Write the...

  • Using the Windows Starter Visual Studio project create the following two programs. 1. Write a program...

    Using the Windows Starter Visual Studio project create the following two programs. 1. Write a program that will loop three times and raise the number 25 to the third power (25pts). (25*25*25) Note: Make sure you have a large enough memory for the final number 2. Write a program using a whileSum that adds one to the index until it is five (25pts). Sample:         mov sum, 0     ; sum := 0         mov ecx, 1     ; count := 1 whileA:...

  • Please write below code in C++ using Visual Studio. Write program that uses a class template...

    Please write below code in C++ using Visual Studio. Write program that uses a class template to create a set of items. The program should: 1. add items to the set (there shouldn't be any duplicates) • Example: if your codes is adding three integers, 10, 5, 10, then your program will add only two values 10 and 5 • Hint: Use vectors and vector functions to store the set of items 2. Get the number of items in the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT