mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-24 05:29:17 +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
|
#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);
|
||||||
|
Loading…
Reference in New Issue
Block a user