Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Switch_Program_Change\Switch_Program_Change.ino: In function 'void setup()':
C:\Switch_Program_Change\Switch_Program_Change.ino:33:47: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'byte* {aka unsigned char*}' [-fpermissive]
midi.sendMidiCommands(SEND_1, sizeof(SEND_1));
^
In file included from C:\Switch_Program_Change\Switch_Program_Change.ino:6:0:
sketch\midi.h:34:10: note: initializing argument 1 of 'void Midi::sendMidiCommands(byte*, byte)'
void sendMidiCommands(byte commands[], byte lengthOfCommands) {
^
C:\Switch_Program_Change\Switch_Program_Change.ino: In function 'void loop()':
C:\Switch_Program_Change\Switch_Program_Change.ino:40:49: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'byte* {aka unsigned char*}' [-fpermissive]
midi.sendMidiCommands(SEND_1, sizeof(SEND_1));
^
In file included from C:\Switch_Program_Change\Switch_Program_Change.ino:6:0:
sketch\midi.h:34:10: note: initializing argument 1 of 'void Midi::sendMidiCommands(byte*, byte)'
void sendMidiCommands(byte commands[], byte lengthOfCommands) {
^
C:\Switch_Program_Change\Switch_Program_Change.ino:44:49: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'byte* {aka unsigned char*}' [-fpermissive]
midi.sendMidiCommands(SEND_2, sizeof(SEND_2));
^
In file included from C:\Switch_Program_Change\Switch_Program_Change.ino:6:0:
sketch\midi.h:34:10: note: initializing argument 1 of 'void Midi::sendMidiCommands(byte*, byte)'
void sendMidiCommands(byte commands[], byte lengthOfCommands) {
^
C:\Switch_Program_Change\Switch_Program_Change.ino:48:49: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'byte* {aka unsigned char*}' [-fpermissive]
midi.sendMidiCommands(SEND_3, sizeof(SEND_3));
^
In file included from C:\Switch_Program_Change\Switch_Program_Change.ino:6:0:
sketch\midi.h:34:10: note: initializing argument 1 of 'void Midi::sendMidiCommands(byte*, byte)'
void sendMidiCommands(byte commands[], byte lengthOfCommands) {
^
C:\Switch_Program_Change\Switch_Program_Change.ino:52:49: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'byte* {aka unsigned char*}' [-fpermissive]
midi.sendMidiCommands(SEND_4, sizeof(SEND_4));
^
In file included from C:\Switch_Program_Change\Switch_Program_Change.ino:6:0:
sketch\midi.h:34:10: note: initializing argument 1 of 'void Midi::sendMidiCommands(byte*, byte)'
void sendMidiCommands(byte commands[], byte lengthOfCommands) {
^
Der Sketch verwendet 3236 Bytes (10%) des Programmspeicherplatzes. Das Maximum sind 32256 Bytes.
Globale Variablen verwenden 436 Bytes (21%) des dynamischen Speichers, 1612 Bytes für lokale Variablen verbleiben. Das Maximum sind 2048 Bytes.
avrdude: ser_open(): can't open device "\\.\COM1": Das System kann die angegebene Datei nicht finden.
Problem beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload.
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.