The following repository contains a functional Arduino Mega 2560 core and the MegaCommand Live firmware.
It is compatibile with the MegaCommand Arduino Shield and the Arduino IDE framework.
Parts of this project are built upon the work 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.
- In 2021 the repository was renamed to MCL, to coincide with the MCL 4.0 release.
See https://github.com/jmamma/MCL/releases for firmware binaries, user documentation and upload instructions.
The documentation below is for advanced users
MacOS / Linux:
-
Download the Arduino IDE https://www.arduino.cc/en/Main/Software (1.8.5 tested)
-
Copy Arduino.app to your /Applications folder and launch it. (Must be opened first before performing step below)
-
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/MCL
Windows:
The Arduino compiler (avr-gcc) does not like spaces within the full path name when compiling the custom core.
-
Download the Windows ZIP file for non-admin install https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-windows.zip
-
Extract zip file to desktop.
-
Download MIDICtrl20_MegaCommand and extract to the
arduino-1.8.5\hardware\
folder. -
If you have an admin-installed Arduino IDE, extract MCL to the arduino user directory
%USERPROFILE%\Documents\Arduino\hardware\
(e.g.C:\Users\your_name\Documents\Arduino\hardware\
)
-
Open the Arduino IDE Application
-
Select: Tools -> Board -> MegaCommand
All the source code for MegaCommand Live is contained within this repository.
To compile the MegaCommandLive firmware do the following:
-
Create a new Arduino Sketch
-
Insert the following code
#include "MCL.h"
void setup() {
mcl.setup();
}
- Compile sketch and upload to your MegaCommand