Software Examples
3.2
Blink LED Example
This very simple software example shows how to software toggle a GPIO to blink an LED on the
LaunchPad.
3.2.1
Source File Structure
The project is split into multiple files. This makes it easier to navigate and reuse parts of it for other
projects (see
Table 9. Source File and Folders
Name
Description
main.c
The Blink LED main function
Library: Driverlib
Device driver library (
http://www.ti.com/tool/msp430driverlib
The main code utilizes the MSP430 Driver Library to halt the watchdog timer and to configure or toggle
the GPIO pin connected to the LED inside a software loop.
4
Resources
4.1
Integrated Development Environments
Although the source files can be viewed with any text editor, more can be done with the projects if they
are opened with a development environment like Code Composer Studio™ (CCS), IAR Embedded
Workbench®, or Energia.
4.1.1
TI Cloud Development Tools
TI's Cloud-based software development tools provide instant access to MSPWare content and a web-
based IDE.
4.1.1.1
TI Resource Explorer Cloud
TI Resource Explorer Cloud provides a web interface for browsing examples, libraries and documentation
found in MSPWare without having to download files to your local drive (see
Go check out TI Resource Explorer Cloud now at
20
MSP430FR6989 LaunchPad™ Development Kit (MSP
‑
EXP430FR6989)
SLAU627A – May 2015 – Revised July 2015
Copyright © 2015, Texas Instruments Incorporated