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

Function timerConfigForSend

src/private/IRTimer.hpp:147–148  ·  view source on GitHub ↗

* IF PWM should be generated not by software, but by a timer, this function sets output pin mode, * configures the timer for generating a PWM with HIGH output level of duty cycle of IR_SEND_DUTY_CYCLE_PERCENT_FOR_LEVEL_HIGH * and disables the receive interrupt if it uses the same resource. * For most architectures, the pin number(s) which can be used for output is determined by the timer used!

Source from the content-addressed store, hash-verified

145 * @param aFrequencyKHz Frequency of the sent PWM signal in kHz. There is no practical reason to have a sub kHz resolution for sending frequency :-).
146 */
147void timerConfigForSend(uint16_t aFrequencyKHz) {
148}
149
150/**
151 * Enables output of the PWM signal of the timer at the timer pin.

Callers 2

enableIROutMethod · 0.85

Calls 1

Tested by

no test coverage detected