MSP430 LaunchPad, Testing the Waters

Tonight in my dedicated hack night, I decided to play with my newly arrived MSP430 LaunchPad. To read more about this little cool and very cheap microcontroller go here: http://ti.com/launchpadwiki

I found a TI video “MSP430 Value Line LaunchPad project tutorial — Blink on-board LEDs” to walk me through some basic steps (video at the bottom of the post).

The night started with downloading and installing the LaunchPad software from the LaunchPad wiki page (Code Composer Studio (CCS) and IAR Embedded Workbench KickStart). This took a little longer than I expected but everything ran smoothly.

Once the software was loaded, I opened CCS and used an example code that required very little change. The example code can be found here “Download all MSP430G2xx code examples. The example code I used was msp430x20x3_1.c – Software Toggle P1.0. This code is for flashing one LED. The video walked me through the needed changes to the code to have both LEDs flash. In the video, the code changes were blurry. The picture below is a screen shot of the final code (hopefully easier to read).

Once I altered the code I plugged in my LaunchPad, debugged the program and ran it. No errors were found. I have been playing around with changing the flashing speed.

A video of my final outcome.

Watch the tutorial here:

Share
This entry was posted in Learning. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image

  • For the Record

    ● 14,000 miles driven on a road trip
    ● 46 rotations around the sun
    ● 15 years in the greatest city on Earth
    ● 4 months without electricity post K
    ● 1 amazing family

  • From My Camera

  • Hype Maching Love