diff --git a/src/MIDI.cpp b/src/MIDI.cpp index a01beb4..4d55be0 100644 --- a/src/MIDI.cpp +++ b/src/MIDI.cpp @@ -2,10 +2,23 @@ * @file MIDI.cpp * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #include "MIDI.h" diff --git a/src/MIDI.h b/src/MIDI.h index 2a92b80..fb8c0b4 100644 --- a/src/MIDI.h +++ b/src/MIDI.h @@ -2,10 +2,23 @@ * @file MIDI.h * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #pragma once diff --git a/src/MIDI.hpp b/src/MIDI.hpp index 084daaa..3b375bf 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -2,10 +2,23 @@ * @file midi_Inline.hpp * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - Inline implementations - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #pragma once diff --git a/src/midi_Defs.h b/src/midi_Defs.h index 6739e1d..324f361 100644 --- a/src/midi_Defs.h +++ b/src/midi_Defs.h @@ -2,10 +2,23 @@ * @file midi_Defs.h * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - Definitions - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #pragma once diff --git a/src/midi_Namespace.h b/src/midi_Namespace.h index c72e334..c99629e 100644 --- a/src/midi_Namespace.h +++ b/src/midi_Namespace.h @@ -2,10 +2,23 @@ * @file midi_Namespace.h * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - Namespace declaration - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #pragma once diff --git a/src/midi_Settings.h b/src/midi_Settings.h index eae8555..cd2d021 100644 --- a/src/midi_Settings.h +++ b/src/midi_Settings.h @@ -2,10 +2,23 @@ * @file midi_Settings.h * Project Arduino MIDI Library * @brief MIDI Library for the Arduino - Settings - * @version 4.0 + * @version 4.1 * @author Francois Best * @date 24/02/11 - * license GPL Forty Seven Effects - 2011 + * @license GPL v3.0 - Copyright Forty Seven Effects 2014 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ #pragma once @@ -48,13 +61,13 @@ // Set the default port to use for MIDI. #if MIDI_AUTO_INSTANCIATE # ifdef ARDUINO +# include "Arduino.h" # ifdef USBCON # define MIDI_DEFAULT_SERIAL_PORT Serial1 // For Leonardo # else # define MIDI_DEFAULT_SERIAL_PORT Serial // For other Arduinos # endif # define MIDI_DEFAULT_SERIAL_CLASS HardwareSerial -# include "Arduino.h" # include "HardwareSerial.h" # else # error Auto-instanciation disabled. Use MIDI_CREATE_INSTANCE macro.