Introducing LaunchLib

Pew Pew Pew

LaunchLib is a library to make software development on the TI MSP430 Launchpad a lot easier.

Current Features:

– Scheduling mechanism

  • driven from 2ms watchdog timer
  • Callbacks
    • Periodic function scheduling
  • Callouts
    • One-shot function run
    • Self-scheduling functions


  • Generation on Timer 0/1


– GPIO Interrupt handler

  • Attach GPIO pin interrupts to functions

– Basic State machine handler

  • Easily configurable state machines
  • Event queueing
  • Enter and Exit events for each state
  • State transisions configured by single table

– Uart

  • Selectable blocking/non-blocking RX/TX
  • Built-in compact printf functionality

All of the code is open source and hosted on github: