|
FastLED 3.9.15
|
| #define MIDI_CREATE_INSTANCE | ( | Type, | |
| SerialPort, | |||
| Name ) |
Create an instance of the library attached to a serial port. You can use HardwareSerial or SoftwareSerial for the serial port. Example: MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, midi2); Then call midi2.begin(), midi2.read() etc..
Definition at line 99 of file serialMIDI.h.