Skip to content

franeum/MicroMidiEnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroMidiEnc

by francesco bianchi

Arduino Library to use a rotary encoder as MIDI controller (via USB). It currently run only on ATmega32U4 (Micro and Leonardo).

Tha API is based on ICU paradigm: Instatiate-Configure-Update and you can use an encoder with only 3 lines of code:

#include <MicroMidiEnc.h>

// Instantiate
MicroMidiEnc enc;

void setup() {
    // Configure (pin1, pi2, MIDI_CHANNEL (1-16), MIDI_CONTROLLER, LABEL_FOR_DEBUG)
    enc.begin(D2, D3, 1, 70, "ENC");
}

void loop() {
    // Update
    enc.update();

    // ...all done!
}

Credits:

About

MIDI over USB rotary encoder controller

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors