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

Method sendOnkyo

src/ir_NEC.hpp:189–191  ·  view source on GitHub ↗

* There is NO delay after the last sent repeat! * @param aNumberOfRepeats If < 0 then only a special NEC repeat frame without leading and trailing space * will be sent by calling NECProtocolConstants.SpecialSendRepeatFunction(). */

Source from the content-addressed store, hash-verified

187 * will be sent by calling NECProtocolConstants.SpecialSendRepeatFunction().
188 */
189void IRsend::sendOnkyo(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats) {
190 sendPulseDistanceWidth_P(&NECProtocolConstants, (uint32_t) aCommand << 16 | aAddress, NEC_BITS, aNumberOfRepeats);
191}
192
193/**
194 * NEC2 Send frame !!! and repeat the frame for each requested repeat !!!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected