tttapa / MIDI_controller

This is a library for creating a MIDI controller using an Arduino or Teensy board.
GNU General Public License v3.0
403 stars 70 forks source link

No Midi Messages in Mixx or elsewhere, unable to re-establish connection with Leonardo. #39

Closed rabbiccu closed 6 years ago

rabbiccu commented 6 years ago

Description of the problem or question

Arduino shows up as a MIDI Contoller, but no MIDI messages being passed into Mixx program during learning. Configured the faders and pots with numerous wiring pinout and still nothing.

Hardware

Arduino Leonardo. B10k pots, B103 faders, breadboard. miniUSB-->Computer

Software versions:

MIDI Controller library: 3.0.1
Arduino IDE: 1.6.8
Operating System: Windows 10
Operating System version: ? 10, 16.04, ... ?
(Teensyduino): latest (Encoder library): latest
(MIDIUSB library): latest (THESE LAST THREE ARE SET TO LATEST BECAUSE ANOTHER ISSUE. AFTER UPLOADING THE FIRST TIME I HAVE BEEN UNABLE TO UPLOAD AGAIN AS THE PORT MENU IN ARDUINO IDE IS GREYED OUT. I GET A ERROR MESSAGE ABOUT THE PORT NOT BEING THERE ) WHEN I TRY TO REUPLOAD TO ENSURE LIBRARY VERSIONS ETC I GET:

`Arduino: 1.6.8 (Windows 10), Board: "TeeOnArdu, MIDI, 16 MHz, US English"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\admin\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\admin\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\admin\Documents\Arduino\libraries" -fqbn=TeeOnArdu:avr:TeeOnArdu:usb=midi,speed=16,keys=en-us -ide-version=10608 -build-path "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\admin\Desktop\MIDI_Controller_Leonardo_-_Analog\MIDI_Controller_Leonardo_-_Analog.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\admin\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\admin\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\admin\Documents\Arduino\libraries" -fqbn=TeeOnArdu:avr:TeeOnArdu:usb=midi,speed=16,keys=en-us -ide-version=10608 -build-path "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\admin\Desktop\MIDI_Controller_Leonardo_-_Analog\MIDI_Controller_Leonardo_-_Analog.ino"
WARNING: Spurious .github folder in 'MIDI controller' library
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Arduino"' '-DUSB_PRODUCT="TeeOnArdu"' -DUSB_MIDI -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu" "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\variants\leonardo" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Arduino"' '-DUSB_PRODUCT="TeeOnArdu"' -DUSB_MIDI -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu" "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\variants\leonardo" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Arduino"' '-DUSB_PRODUCT="TeeOnArdu"' -DUSB_MIDI -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu" "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\variants\leonardo" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp" -o "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Arduino"' '-DUSB_PRODUCT="TeeOnArdu"' -DUSB_MIDI -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu" "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\variants\leonardo" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp" -o "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Arduino"' '-DUSB_PRODUCT="TeeOnArdu"' -DUSB_MIDI -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu" "-IC:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\variants\leonardo" "C:\Program Files (x86)\Arduino\hardware\TeeOnArdu\avr\cores\TeeOnArdu\wiring_pulse.S" -o "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_pulse.S.o"
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WInterrupts.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\hooks.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\keylayouts.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\teensyduino.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\usb.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_analog.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_digital.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_shift.c.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Print.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Stream.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Tone.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\USBAPI.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WMath.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WString.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\abi.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\main.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\new.cpp.o
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_pulse.S.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WInterrupts.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\hooks.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\keylayouts.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\teensyduino.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\usb.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_analog.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_digital.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_pulse.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\wiring_shift.c.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial0.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial1.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial2.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\HardwareSerial3.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\IPAddress.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Print.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Stream.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\Tone.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\USBAPI.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WMath.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\WString.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\abi.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\main.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-ar" rcs  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\core.a" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\core\new.cpp.o"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega32u4  -o "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/MIDI_Controller_Leonardo_-_Analog.ino.elf" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp\sketch\MIDI_Controller_Leonardo_-_Analog.ino.cpp.o" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/core\core.a" "-LC:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp" -lm
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/MIDI_Controller_Leonardo_-_Analog.ino.elf" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/MIDI_Controller_Leonardo_-_Analog.ino.eep"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/MIDI_Controller_Leonardo_-_Analog.ino.elf" "C:\Users\admin\AppData\Local\Temp\build05e956ed821e7a998eb94654329edf25.tmp/MIDI_Controller_Leonardo_-_Analog.ino.hex"

Sketch uses 3,020 bytes (10%) of program storage space. Maximum is 28,672 bytes.
Global variables use 197 bytes (7%) of dynamic memory, leaving 2,363 bytes for local variables. Maximum is 2,560 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected.  If it is correct, try pressing the board's reset button after initiating the upload.`

Settings in the IDE

Board: TeeOnArdu Processor: 16MHZ USB Type: MIDI NO PORT MENU, GREYED OUT Programmer: AVRISP mkII

Full code

///* This is the code for the Arduino Leonardo, it will not work on the Uno. */

/* These are constants: If you want to change the number of analog inputs, you can simply do it once on this line, instead of changing it everywhere in your code.*/
#define NUMBER_OF_ANALOG_INPUTS  12 // The Leonardo has 12 analog inputs, we'll use all of them in this example. If you only need 6, change this to 6, and you'll be able to use A6 to A11 as normal I/O pins.

#define CHANNEL  1 //Send all messages on channel 1

/* The list with the corresponding controller numbers: for example, the values of the potentiometer on A0 will be sent as the first controller number in this list, A1 as the second, etc...
  Here's the list with all controller numbers:  http://midi.org/techspecs/midimessages.php#3  You can change them if you want.*/
int controllers[NUMBER_OF_ANALOG_INPUTS] = {
  0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B
};

int analogVal[NUMBER_OF_ANALOG_INPUTS];  // We declare an array for the values from the analog inputs

int analogOld[NUMBER_OF_ANALOG_INPUTS]; // We declare an array for the previous analog values.

void setup() {
  for (int i = 0; i < NUMBER_OF_ANALOG_INPUTS; i++) { // We make the values of analogOld -1, so it will always be different from any possible analog reading.
    analogOld[i] = -1;
  }
  delay(1000);  // Wait 1 second before sending messages, to be sure everything is set up, and to make uploading new sketches easier.
}

void loop() {
  for (int i = 0; i < NUMBER_OF_ANALOG_INPUTS; i++) {                       // Repeat this procedure for every analog input.
    analogVal[i] = analogRead(i + A0) / 8;                                   // The resolution of the Arduino's ADC is 10 bit, and the MIDI message has only 7 bits, 10 - 7 = 3, so we divide by 2^3, or 8.
    if (analogVal[i] != analogOld[i]) {                                   // Only send the value, if it is a different value than last time.
      usbMIDI.sendControlChange(controllers[i], analogVal[i], CHANNEL);
      /* Send the MIDI control change message: choose the i'th controller in the array above, get the right value from the analogVal array, on the predefined channel.
        NOTE: the compiler will not recognize this command if you don't have TeeOnArdu installed, if the board type is not TeeOnArdu, or if the USB type is not set to MIDI.*/
      analogOld[i] = analogVal[i];                                        // Put the analog values in the array for old analog values, so we can compare the new values with the previous ones.
    }
  }

}

Steps taken to try to diagnose or solve the problem

I have been trying to re-establish connection with the Arduino so I can upload some new code/libraries thinking there is probably an error somewhere in the current code. The Arduino does show up as a MIDI controller and has the ANALOG Example uploaded to it. Being locked out of the Arduino has hindered my ability to troubleshoot.

The goal of your project and aditional information

I want 9 Faders, 2 Knobs and an external TRS female jack for an expression pedal. I want this to run an organ VST's drawbars, overdrive, and expression pedal.

tttapa commented 6 years ago

TeeOnArdu is no longer supported. Use the examples from GitHub instead.

To fix your uploading problem, just press the reset button right after hitting upload.
If you're unable to select the port, just press the reset button right before opening the Tools menu.

rabbiccu commented 6 years ago

Thank you so much ttapa.

So, I have switched the board to Arduino Leonardo and am attempting to use the example code from GitHub here. I wanted to add a couple pots for testing.

CODE

/*
This is an example of the "Analog" class of the MIDI_controller library.
Connect a potentiometer to analog pin A0. This will be the MIDI channel volume of channel 1.
Map it in your DAW or DJ software.
Written by Pieter P, 08-09-2017
https://github.com/tttapa/MIDI_controller
*/

#include <MIDI_Controller.h> // Include the library

// Create a new instance of the class 'Analog', called 'potentiometer', on pin A0, 
// that sends MIDI messages with controller 7 (channel volume) on channel 1
Analog potentiometer_A(A0, MIDI_CC::Channel_Volume, 1);
Analog potentiometer_B(A1, MIDI_CC::Channel_Volume, 2);
Analog potentiometer_C(A2, MIDI_CC::Channel_Volume, 3);
Analog potentiometer_D(A3, MIDI_CC::Channel_Volume, 4);
Analog potentiometer_E(A4, MIDI_CC::Channel_Volume, 5);

void setup() {}

void loop() {
  // Refresh the MIDI controller (check whether the potentiometer's input has changed since last time, if so, send the new value over MIDI)
  MIDI_Controller.refresh();
}

When I try to compile I get

ERROR

Arduino: 1.6.8 (Windows 10), Board: "Arduino Leonardo"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\admin\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\admin\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\admin\Documents\Arduino\libraries" -fqbn=arduino:avr:leonardo -ide-version=10608 -build-path "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\admin\Documents\Arduino\sketch_jun06a\sketch_jun06a.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\admin\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\admin\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\admin\Documents\Arduino\libraries" -fqbn=arduino:avr:leonardo -ide-version=10608 -build-path "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\admin\Documents\Arduino\sketch_jun06a\sketch_jun06a.ino"
WARNING: Spurious .github folder in 'MIDI controller' library
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\Banks\Bank.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\Banks\BankSelector.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\ExtendedInputOutput\AnalogMultiplex.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\ExtendedInputOutput\ExtendedIOElement.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\ExtendedInputOutput\ExtendedInputOutput.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\ExtendedInputOutput\ShiftRegisterOut.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Controller\MIDI_Controller_Class.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Interfaces\MIDI_Interface.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\Analog.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\AnalogHiRes.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\ButtonMatrix.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\Digital.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\DigitalLatch.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\MIDI_Control_Element.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src\MIDI_Outputs\RotaryEncoder.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\Documents\Arduino\libraries\Encoder-master\Encoder.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "nul"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp" -o "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\sketch\sketch_jun06a.ino.cpp.o"
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\Banks\Bank.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\Banks\BankSelector.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\ExtendedInputOutput\AnalogMultiplex.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\ExtendedInputOutput\ExtendedIOElement.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\ExtendedInputOutput\ExtendedInputOutput.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\ExtendedInputOutput\ShiftRegisterOut.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Controller\MIDI_Controller_Class.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Interfaces\MIDI_Interface.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\Analog.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\AnalogHiRes.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\ButtonMatrix.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\Digital.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\DigitalLatch.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\MIDI_Control_Element.cpp.o
Using previously compiled file: C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDI_controller-3.0.1\MIDI_Outputs\RotaryEncoder.cpp.o
"C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\leonardo" "-IC:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1\src" "-IC:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src" "-IC:\Users\admin\Documents\Arduino\libraries\Encoder-master" "C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp" -o "C:\Users\admin\AppData\Local\Temp\build9ba078f3b131aa47849509c0fad22750.tmp\libraries\MIDIUSB\MIDIUSB.cpp.o"
C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp: In constructor 'MIDI_::MIDI_()':

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp:190:53: error: no matching function for call to 'PluggableUSBModule::PluggableUSBModule(int, int, uint8_t [2])'

 MIDI_::MIDI_(void) : PluggableUSBModule(2, 2, epType)

                                                     ^

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp:190:53: note: candidates are:

In file included from C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.h:31:0,

                 from C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp:17:

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:29:3: note: PluggableUSBModule::PluggableUSBModule(uint8_t, uint8_t, uint32_t*)

   PluggableUSBModule(uint8_t numEps, uint8_t numIfs, uint32_t *epType) :

   ^

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:29:3: note:   no known conversion for argument 3 from 'uint8_t [2] {aka unsigned char [2]}' to 'uint32_t* {aka long unsigned int*}'

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:27:7: note: constexpr PluggableUSBModule::PluggableUSBModule(const PluggableUSBModule&)

 class PluggableUSBModule {

       ^

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:27:7: note:   candidate expects 1 argument, 3 provided

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:27:7: note: constexpr PluggableUSBModule::PluggableUSBModule(PluggableUSBModule&&)

C:\Users\admin\Documents\Arduino\libraries\MIDIUSB\src\PluggableUSB.h:27:7: note:   candidate expects 1 argument, 3 provided

Using library MIDI_controller-3.0.1 at version 3.0.1 in folder: C:\Users\admin\Documents\Arduino\libraries\MIDI_controller-3.0.1 
Using library MIDIUSB at version 1.0.3 in folder: C:\Users\admin\Documents\Arduino\libraries\MIDIUSB 
Using library Encoder-master at version 1.4.1 in folder: C:\Users\admin\Documents\Arduino\libraries\Encoder-master 
Using library SoftwareSerial at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SoftwareSerial 
exit status 1
Error compiling for board Arduino Leonardo.
tttapa commented 6 years ago

That's really strange. There's a compilation error in MIDIUSB.cpp (which is not part of the MIDI Controller library). I've never seen that one before.

tttapa commented 6 years ago

I would try installing the latest version of the Arduino IDE (≥1.8.x), after removing the old versions. It seems to be a problem between the MIDIUSB library and your version of the Arduino Core.

rabbiccu commented 6 years ago

I did so many things trying to connect to the Arduino. UninstallIng and reinstalling.. I'm going to try to completely remove all traces of arduino and start over.

rabbiccu commented 6 years ago

Ok everything deleted and reinstalled, it compiles just fine for the Leonardo board. Still not able to upload and the port is greyed out at all times. The moment I release the reset button the Arduino mounts as a MIDI device still. I cant help but think that somehow I have locked myself out of the board by making the USB connection a MIDI connection? Totally lost but the compilation issue is overcome!

Any thoughts on greyed out port menu? What is "Upload using Programmer"?

Code

/*
This is an example of the "Analog" class of the MIDI_controller library.
Connect a potentiometer to analog pin A0. This will be the MIDI channel volume of channel 1.
Map it in your DAW or DJ software.
Written by Pieter P, 08-09-2017
https://github.com/tttapa/MIDI_controller
*/

#include <MIDI_Controller.h> // Include the library

// Create a new instance of the class 'Analog', called 'potentiometer', on pin A0, 
// that sends MIDI messages with controller 7 (channel volume) on channel 1
Analog potentiometer_A(A0, MIDI_CC::Channel_Volume, 1);
Analog potentiometer_B(A1, MIDI_CC::Channel_Volume, 2);
Analog potentiometer_C(A2, MIDI_CC::Channel_Volume, 3);
Analog potentiometer_D(A3, MIDI_CC::Channel_Volume, 4);
Analog potentiometer_E(A4, MIDI_CC::Channel_Volume, 5);

void setup() {}

void loop() {
  // Refresh the MIDI controller (check whether the potentiometer's input has changed since last time, if so, send the new value over MIDI)
  MIDI_Controller.refresh();
}

Error

Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.

rabbiccu commented 6 years ago

When verbose error output message is turned on for upload I get a string of:

PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
Couldn't find a Board on the selected port. Check that you have the correct port selected.  If it is correct, try pressing the board's reset button after initiating the upload.
rabbiccu commented 6 years ago

Ok I got super frustrated and just started jamming the reset button erratically during upload and it caught and uploaded.

My port menu is back and the new clean code is uploaded. Now to MIDI testing...

tttapa commented 6 years ago

Great, glad to hear!