Lab 5 – Interrupts
6. Before we start adding new code … delete old code from while{} loop.
Open main.c and comment out – or delete – the code in the while{} loop. This is the old
code that flashes the LED using the inefficient __delay_cycles() function.
After commenting out the while code, just double-check for errors by clicking
the build button. (Fix any error that pops up.)
Hint: If you are commenting out the code, it’s easiest to select all the code and hit the Ctrl-/
keys:
c-|
This toggles the line comments on/off.
5 - 44 MSP430 Workshop - Interrupts