add print_Msg_PaddedHexByte function

This commit is contained in:
jiyunomegami 2020-07-03 22:15:26 +09:00
parent 4d6594c0aa
commit b1ad42bded

View File

@ -762,6 +762,12 @@ void print_Msg(String string) {
#endif #endif
} }
void print_Msg_PaddedHexByte(byte message) {
if (message < 16) print_Msg(0, HEX);
print_Msg(message, HEX);
}
void println_Msg(String string) { void println_Msg(String string) {
#ifdef enable_OLED #ifdef enable_OLED
display.println(string); display.println(string);