mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 08:55:06 +01:00
add print_Msg_PaddedHexByte function
This commit is contained in:
parent
4d6594c0aa
commit
b1ad42bded
@ -762,6 +762,12 @@ void print_Msg(String string) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void print_Msg_PaddedHexByte(byte message) {
|
||||
if (message < 16) print_Msg(0, HEX);
|
||||
print_Msg(message, HEX);
|
||||
}
|
||||
|
||||
|
||||
void println_Msg(String string) {
|
||||
#ifdef enable_OLED
|
||||
display.println(string);
|
||||
|
Loading…
Reference in New Issue
Block a user