EasyManuals Logo

Texas Instruments MSP430 Student Guide

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
Page #233 background imageLoading...
Page #233 background image
Lab 5 Interrupts
3. Rename the imported project to: lab_05a_buttonInterrupt
You can right-click on the project name and select Rename, though the easiest way to
rename a project is to:
Select project in Project Explorer hit
@
When the following dialog pops up, fill in the new project name:
4. Verify the project builds and runs.
Before we change the code, let’s make sure the original project is working. Build and run the
project you should see the LED flashing once per second.
5. Add unused_interrupts.c file to your project.
To save a lot of typing (and probably typos) we already created this file for you. You’ll need to
add it to your project.
Right-click project Add Files…
Find the file in:
C:\msp430_workshop\<target>\lab_05a_buttonInterrupt\unused_interrupts.c
You can take a quick look at this file, if you’d like. Notice that we created a single ISR function
that is associated with all of the interrupts on your device since, at this point, all of the
interrupts are unused. As you add each interrupt to the project, you will need to modify this
file.
lab_05a_buttonInterrupt
MSP430 Workshop - Interrupts 5 - 43

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals