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

Function toTimebase

src/ir_Pronto.hpp:202–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202static uint16_t toTimebase(uint16_t frequency) {
203 return microsecondsInSeconds / effectiveFrequency(frequency);
204}
205
206static uint16_t toFrequencyCode(uint16_t frequency) {
207 return referenceFrequency / effectiveFrequency(frequency);

Calls 1

effectiveFrequencyFunction · 0.85

Tested by

no test coverage detected