mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-11 07:25:07 +01:00
add print_Msg_PaddedHex32 function
This commit is contained in:
parent
9a77da1e66
commit
61b439e09a
@ -767,6 +767,13 @@ void print_Msg_PaddedHexByte(byte message) {
|
|||||||
print_Msg(message, HEX);
|
print_Msg(message, HEX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void print_Msg_PaddedHex32(unsigned long message) {
|
||||||
|
print_Msg_PaddedHexByte((message >> 24) & 0xFF);
|
||||||
|
print_Msg_PaddedHexByte((message >> 16) & 0xFF);
|
||||||
|
print_Msg_PaddedHexByte((message >> 8) & 0xFF);
|
||||||
|
print_Msg_PaddedHexByte((message >> 0) & 0xFF);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void println_Msg(String string) {
|
void println_Msg(String string) {
|
||||||
#ifdef enable_OLED
|
#ifdef enable_OLED
|
||||||
|
Loading…
Reference in New Issue
Block a user