Skip to content
/ MCL Public

MCL firmware for the MegaCommand MIDI Controller.

License

BSD-2-Clause, Unknown licenses found

Licenses found

BSD-2-Clause
LICENSE
Unknown
license.txt
Notifications You must be signed in to change notification settings

jmamma/MCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIDI-CTRL20

The following repository contains a functional Arduino Mega 2560 core and the MegaCommandLive firmware.

It is compatibile with the MegaCommand Arduino Shield and the Arduino IDE framework.

This is a fork of Manuel Odendahl's MIDICtrl Framework: https://github.com/wesen/mididuino

The updated repository contains numerous enhancements and fixes.

  • In 2016 the core was adapted to compile with the ArduinoIDE and MegaCommand hardware design.
  • In 2017 the core was modified to work alongside standard Arduino Code and Libraries.
  • In 2018 the MegaCommandLive firmware was refactored in to c++ libraries and is now part of the MIDICtrl framework.

Installing the MIDICtrl core.

MacOS / Linux:

  1. Download the Arduino IDE https://www.arduino.cc/en/Main/Software (1.8.5 tested)

  2. Copy Arduino.app to your /Applications folder and launch it. (Must be opened first before performing step below)

  3. Get the MIDICtrl library and MegaCommand Core (same repo) and copy it to /Applications/Arduino.app/Contents/Java/hardware/ :

   cd /Applications/Arduino.app/Contents/Java/hardware/
   git clone https://github.com/jmamma/MIDICtrl20_MegaCommand

Windows:

The Arduino compiler (avr-gcc) does not like spaces within the full path name when compiling the custom core.

  1. Download the Windows ZIP file for non-admin install https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-windows.zip

  2. Extract zip file to desktop.

  3. Download MIDICtrl20_MegaCommand and extract to the "arduino-1.8.5\hardware" folder.

Configure the Core

You need to set the correct display type.

As of 2.15 OLED display is enabled by default.

To enable the HD44780 16x2 display edit OLED.h

${install_dir}/MIDICtrl20_MegaCommand/avr/cores/megacommand/OLED.h

Change
#define OLED_DISPLAY
to
//#define OLED_DISPLAY

Selecting the Core

  1. Open the Arduino IDE Application

  2. Select: Tools -> Board -> MegaCommand

Compiling MegaCommandLive Firmware

All the source code for MegaCommand Live is contained within this repository.

To compile the MegaCommandLive firmware do the following:

  1. Create a new Arduino Sketch

  2. Insert the following code

#include "MCL.h"

void setup() {
  mcl.setup();
}
  1. Compile sketch and upload to your MegaCommand

About

MCL firmware for the MegaCommand MIDI Controller.

Resources

License

BSD-2-Clause, Unknown licenses found

Licenses found

BSD-2-Clause
LICENSE
Unknown
license.txt

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •