diff --git a/src/MIDI.h b/src/MIDI.h index da2bef4..74d7c47 100644 --- a/src/MIDI.h +++ b/src/MIDI.h @@ -18,6 +18,10 @@ BEGIN_MIDI_NAMESPACE /*! \brief The main class for MIDI handling. +It is templated over the type of serial port to provide abstraction from +the hardware interface, meaning you can use HardwareSerial, SoftwareSerial +or ak47's Uart classes. The only requirement is that the class implements +the begin, read, write and available methods. */ template class MidiInterface @@ -232,4 +236,4 @@ END_MIDI_NAMESPACE // ----------------------------------------------------------------------------- -#include "midi_Inline.hpp" +#include "MIDI.hpp" diff --git a/src/midi_Inline.hpp b/src/MIDI.hpp similarity index 100% rename from src/midi_Inline.hpp rename to src/MIDI.hpp