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 #84 background imageLoading...
Page #84 background image
Lab 2 – CCSv5 Projects
2 - 46 MSP430 Workshop - Programming C with CCS
10. Set a breakpoint.
There are many ways to set a breakpoint on a line of code in CCS. You can right-click on a
line of code to toggle a Breakpoint. But the easiest is to:
Double-click the blue bar on the line of code
For example, you can see we have just set a breakpoint on our toggle LED line of code:
Once a breakpoint is set, there will be a blue marker
that represents it. By double-clicking in this location,
we can easily add or remove breakpoints.
11. Run to breakpoint.
Run the code again. Notice how it stops at the breakpoint each time the program flow
encounters it.
Press F8 (multiple times)
You should see the LED toggling on or off each time you run the code.
12. Terminate your debug session.
When you’re done having fun, terminate your debug session.
13. Close the project.

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