MCPcopy Create free account
hub / github.com/BruceDevices/firmware / uint32ToString

Function uint32ToString

src/modules/ir/ir_read.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define DUTY_CYCLE 0.330000
23
24String uint32ToString(uint32_t value) {
25 char buffer[12] = {0};
26 snprintf(
27 buffer,
28 sizeof(buffer),
29 "%02lX %02lX %02lX %02lX",
30 value & 0xFF,
31 (value >> 8) & 0xFF,
32 (value >> 16) & 0xFF,
33 (value >> 24) & 0xFF
34 );
35 return String(buffer);
36}
37
38String uint32ToStringInverted(uint32_t value) {
39 char buffer[12] = {0};

Callers 2

emulate_signalMethod · 0.85
append_to_file_strMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected