EasyManua.ls Logo

Texas Instruments MSP430

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for Texas Instruments MSP430

Related product manuals