Skip to content

Single header library for the Novation Launchpad MK2

License

Notifications You must be signed in to change notification settings

PancakeTAS/launchpadmk2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

launchpadmk2

Single header library for the Novation Launchpad MK2

This c library is a single header file that allows you to fully interact with the Novation Launchpad MK2. It follows the specifications of the Launchpad MK2 Programmer's Reference Manual closely.

Features

With this library you can:

  • Read button presses
  • Control LEDs through Note On and Control Change messages
  • Pulse and flash LEDs
  • Set LEDs through RGB values
  • Change between various modes of the Launchpad MK2
  • Setup virtual sliders
  • Modify the bpm of the Launchpad MK2
  • Scroll text on the Launchpad MK2
  • Obtain device information through device inquiry
  • Enter the bootloader

Usage

To use this library, simply include the header file in your project and specify LAUNCHPAD_IMPL in one of your source files.

If you wish to enable error and trace messages, define LAUNCHPAD_LOG_ERROR and LAUNCHPAD_LOG_TRACE respectively.

You can find a usage example in src/helloworld.c.

About

Single header library for the Novation Launchpad MK2

Topics

Resources

License

Stars

Watchers

Forks