50template <u
int8_t BufferSize = 112>
88 if (midimsg.
data[5] != 0x12)
#define BEGIN_CS_NAMESPACE
A type-safe class for MIDI USB Cable numbers.
Counts the number of instances of the LCD class.
static uint8_t getInstances()
A class that represents the Mackie Control Universal LCD display and saves the text it receives.
const char * getText() const
Get a pointer to the null-terminated display text.
void markDirty()
Set the dirty counter to the number of subscribers (or one).
bool getDirty() const
Check if the text was updated since the last time the dirty flag was cleared.
void begin() override
Initialize the input element.
LCD(uint8_t offset=0, Cable cable=Cable_1)
Array< char, BufferSize+1 > buffer
bool updateWith(SysExMessage midimsg) override
void clearDirty()
Clear the dirty flag.
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
constexpr auto min(const T &a, const U &b) -> decltype(b< a ? b :a)
Return the smaller of two numbers/objects.
constexpr auto max(const T &a, const U &b) -> decltype(a< b ? b :a)
Return the larger of two numbers/objects.
An array wrapper for easy copying, comparing, and iterating.
Cable getCable() const
Get the MIDI USB cable number of the message.
bool isCompleteMessage() const