Question: Write a program for the TI microcontroller MSP430g2553 using Code Composer Studio (not Energia) that flashes the Morse code pattern of a string with the

Write a program for the TI microcontroller MSP430g2553 using Code Composer Studio (not Energia) that flashes the Morse code pattern of a string with the Red LED(Port1 Pin 0(0x01)). To show a Morse letter on the MSP430, the red LED blinks for a short duration to represent a dot, or for a long duration to represent a dash.

The code should work for any string, it should discover the size of the string and flash all the words, and the only change to the code to make it flash a different message is by putting a new message between the quotes >>>>>>>>>>>>>>>>> char str[] = "Message";

The code must flash the message in an infinite loop, and a hint that was given was that you can store all the dot-dash patterns in a 2D array, where it has 36 rows(26 letters and 0-9 digits).

Write a program for the TI microcontroller MSP430g2553 using Code Composer Studio

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!