| 
    Control Surface
     
   1.2.0
   MIDI Control Surface library for Arduino 
   | 
 
This example demonstrates how to group together two or more MIDI interfaces, so you can send the MIDI output over both MIDI USB and 5-pin DIN MIDI, for example. MIDI input is received from all interfaces as well.
Also have a look at the MIDI_Pipes-Routing.ino example, the MIDI Routing module and the MIDI_Pipe documentation for more information about MIDI routing. 
 Control Surface can be used as both a MIDI sink and a MIDI source.
When you call Control_Surface.begin(), it automatically connects itself to the default MIDI interface (MIDI_Interface::getDefault()). 
 If you want to route everything manually, you have to connect it before calling Control_Surface.begin(), or you have to disconnect the default pipes before connecting your own, using Control_Surface_::disconnectMIDI_Interfaces().
Connect the left terminal of the potentiometer to ground, and the right one to VCC.
Written by PieterP, 2019-08-22 
 https://github.com/tttapa/Control-Surface