rveitch
9/25/2015 - 1:01 AM

Arduino Midi Out PC Change Test

Arduino Midi Out PC Change Test

#include <MIDI.h>  // Add Midi Library

//Create an instance of the library with default name, serial port and settings
MIDI_CREATE_DEFAULT_INSTANCE();

void setup(){
  MIDI.begin();
}

void loop(){
    
  for (int i=0; i<10; i++){
     
    MIDI.sendProgramChange(i,1);
    MIDI.sendControlChange(0,0,1);
    delay (1000);
  }
}