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

Function toFrequencyKHz

src/ir_Pronto.hpp:59–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57//! @endcond
58
59static uint16_t toFrequencyKHz(uint16_t code) {
60 return ((referenceFrequency / code) + 500) / 1000;
61}
62
63/*
64 * Parse the string given as Pronto Hex, and send it a number of times given as argument.

Callers 1

sendProntoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected