13 #ifndef FORMATTEDMESSAGE_H_ 14 #define FORMATTEDMESSAGE_H_ 25 #define USART_ESCAPE_TEXT_START "\x1B" "[3" 26 #define USART_ESCAPE_TEXT_END "m" 30 #define USART_ESCAPE_BACKGROUND_START "\x1B" "[4" 31 #define USART_ESCAPE_BACKGROUND_END "m" 54 } FormattedStringColors_t;
62 void SendColouredMessageWithBackgroundColor(
const char* message,
63 FormattedStringColors_t textColor,
64 FormattedStringColors_t backgroundColor);
65 void SendColouredMessage(
const char* message, FormattedStringColors_t textColor);
66 void SendTextColor(FormattedStringColors_t textColor);
67 void SendBackgroundColor(FormattedStringColors_t backgroundColor);
68 void SendErrorMessage(
const char *message);
70 void FormattedMessage_Test(
void);