Some nonsense about MIDI_TX

can you help me with this error? im using arduino mega 2560 R3

G:\a\Arduino\arduino-builder -dump-prefs -logger=machine -hardware G:\a\Arduino\hardware -tools G:\a\Arduino\tools-builder -tools G:\a\Arduino\hardware\tools\avr -built-in-libraries G:\a\Arduino\libraries -libraries C:\Users\Reymond\Documents\Arduino\libraries -fqbn=arduino:avr:megaADK -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167 -warnings=none -build-cache C:\Users\Reymond\AppData\Local\Temp\arduino_cache_217414 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=G:\a\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=G:\a\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=G:\a\Arduino\hardware\tools\avr -verbose C:\Users\Reymond\Desktop\myDrum_Mega_Choke\myDrum_Mega_Choke.ino G:\a\Arduino\arduino-builder -compile -logger=machine -hardware G:\a\Arduino\hardware -tools G:\a\Arduino\tools-builder -tools G:\a\Arduino\hardware\tools\avr -built-in-libraries G:\a\Arduino\libraries -libraries C:\Users\Reymond\Documents\Arduino\libraries -fqbn=arduino:avr:megaADK -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167 -warnings=none -build-cache C:\Users\Reymond\AppData\Local\Temp\arduino_cache_217414 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=G:\a\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=G:\a\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=G:\a\Arduino\hardware\tools\avr -verbose C:\Users\Reymond\Desktop\myDrum_Mega_Choke\myDrum_Mega_Choke.ino Using board 'megaADK' from platform in folder: G:\a\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: G:\a\Arduino\hardware\arduino\avr Detecting libraries used... "G:\a\Arduino\hardware\tools\avr/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_ADK -DARDUINO_ARCH_AVR "-IG:\a\Arduino\hardware\arduino\avr\cores\arduino" "-IG:\a\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\sketch\myDrum_Mega_Choke.ino.cpp" -o "nul" Generating function prototypes... "G:\a\Arduino\hardware\tools\avr/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_ADK -DARDUINO_ARCH_AVR "-IG:\a\Arduino\hardware\arduino\avr\cores\arduino" "-IG:\a\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\sketch\myDrum_Mega_Choke.ino.cpp" -o "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\preproc\ctags_target_for_gcc_minus_e.cpp" "G:\a\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\preproc\ctags_target_for_gcc_minus_e.cpp" Compiling sketch... "G:\a\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_ADK -DARDUINO_ARCH_AVR "-IG:\a\Arduino\hardware\arduino\avr\cores\arduino" "-IG:\a\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\sketch\myDrum_Mega_Choke.ino.cpp" -o "C:\Users\Reymond\AppData\Local\Temp\arduino_build_582167\sketch\myDrum_Mega_Choke.ino.cpp.o" C:\Users\Reymond\Desktop\myDrum_Mega_Choke\myDrum_Mega_Choke.ino: In function 'void loop()':

myDrum_Mega_Choke:174: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, choke1, 127);

^

myDrum_Mega_Choke:176: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, choke1, 127);

^

myDrum_Mega_Choke:183: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, choke2, 127);

^

myDrum_Mega_Choke:185: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, choke2, 127);

^

myDrum_Mega_Choke:192: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, choke3, 127);

^

myDrum_Mega_Choke:194: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, choke3, 127);

^

myDrum_Mega_Choke:201: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, chokeRide, 127);

^

myDrum_Mega_Choke:203: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, chokeRide, 127);

^

myDrum_Mega_Choke:210: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux1, 127);

^

myDrum_Mega_Choke:212: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux1, 127);

^

myDrum_Mega_Choke:219: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux2, 127);

^

myDrum_Mega_Choke:221: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux2, 127);

^

myDrum_Mega_Choke:228: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux3, 127);

^

myDrum_Mega_Choke:230: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux3, 127);

^

myDrum_Mega_Choke:237: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux4, 127);

^

myDrum_Mega_Choke:239: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux4, 127);

^

myDrum_Mega_Choke:246: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux5, 127);

^

myDrum_Mega_Choke:248: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux5, 127);

^

myDrum_Mega_Choke:255: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux6, 127);

^

myDrum_Mega_Choke:257: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux6, 127);

^

myDrum_Mega_Choke:264: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(144, Aux7, 127);

^

myDrum_Mega_Choke:266: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(128, Aux7, 127);

^

myDrum_Mega_Choke:293: error: 'normalizeSensor' was not declared in this scope

int velocity = normalizeSensor(sensorReads[pin], pin);

^

myDrum_Mega_Choke:294: error: 'MIDI_TX' was not declared in this scope

MIDI_TX(SensorType[pin], PadNote[pin], velocity);

^

exit status 1 'MIDI_TX' was not declared in this scope

Do not hijack threads by posting unrelated questions. Especially threads that are over 5 years old. I have asked the moderators to split your post from the thread and move it to the appropriate section of the forum.

You are attempting to call a function “MIDI_TX” but that function has not been defined - maybe it doesn’t exist, maybe you didnt include the library that supplies it, or maybe you got the name wrong; this is a problem with your sketch, not the upload process

@reymond29, do not cross-post. Other post removed.

Do not hijack. Thread split