23 char barStr[6], beatStr[3], frameStr[4];
27 DEBUG(F(
"Bar: ") << barStr << F(
"\tBeat: ") << beatStr << F(
"\tFrame: ")
constexpr Channel Channel_1
#define BEGIN_CS_NAMESPACE
A type-safe class for MIDI channels.
Class that receives and saves the text of a Mackie Control Universal 7-segment display like the assig...
char getCharacterAt(uint8_t index) const
Get the character at the given index.
void getText(char *buffer, uint8_t offset=0, uint8_t length=LENGTH) const
Copy the ASCII text into the given buffer.
Class that receives and stores the text of the Mackie Control Universal 7-segment time display.
TimeDisplay(Channel channel=Channel_1)
void getBars(char *buff) const
void getBeats(char *buff) const
void getFrames(char *buff) const
#define DEBUG(x)
Print an expression to the debug output if debugging is enabled.
static constexpr uint8_t TimeDisplayLength
static constexpr uint8_t TimeDisplayAddress