Question: 2. Use CCSv7 to implement the code in Listings 8.4 using MSP430 Assembly language. Use the CCSv7 debugger functions that you know about in order

2. Use CCSv7 to implement the code in Listings 8.4 using MSP430 Assembly language. Use the CCSv7 debugger functions that you know about in order to examine what the code does when it executes. Comment each line of code (instructions, labels, and directives) describing it's purpose in the program.
 2. Use CCSv7 to implement the code in Listings 8.4 using

Listing 8.4 Toggling the green LED when the push button is pressed, for MSP430 LaunchPad Rev.1.5. # include define LED B1T6 define BUTTON B1T3 void main (void) P1DIR = LED ; P?REN = BUTTON ; P1OUTBUTTON; while(1) if((Pl1N & BUTTON ) == 0x00){ ..delay cycles(5000); if( (PIIN & BUTTON ) 0x00){ P1OUT ^= LED ; while ((PIIN & BUTTON ) 0x00); 1

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!