MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / toFrequencyCode

Function toFrequencyCode

src/ir_Pronto.hpp:206–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static uint16_t toFrequencyCode(uint16_t frequency) {
207 return referenceFrequency / effectiveFrequency(frequency);
208}
209
210static char DigitToHex(uint8_t x) {
211 return (char) (x <= 9 ? ('0' + x) : ('A' + (x - 10)));

Calls 1

effectiveFrequencyFunction · 0.85

Tested by

no test coverage detected