Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Arduino-IRremote/Arduino-IRremote
/ DigitToHex
Function
DigitToHex
src/ir_Pronto.hpp:210–212 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
208
}
209
210
static char DigitToHex(uint8_t x) {
211
return (char) (x <= 9 ? (
'0'
+ x) : (
'A'
+ (x - 10)));
212
}
213
214
static void dumpDigitHex(Print *aSerial, uint8_t number) {
215
aSerial->print(DigitToHex(number));
Callers
1
dumpDigitHex
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected