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

Function sendNECSpecialRepeat

src/ir_NEC.hpp:143–148  ·  view source on GitHub ↗

* Static function variant of IRsend::sendNECRepeat * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. */

Source from the content-addressed store, hash-verified

141 * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function.
142 */
143void sendNECSpecialRepeat() {
144 IrSender.enableIROut(NEC_KHZ); // 38 kHz
145 IrSender.mark(NEC_HEADER_MARK); // + 9000
146 IrSender.space(NEC_REPEAT_HEADER_SPACE); // - 2250
147 IrSender.mark(NEC_BIT_MARK); // + 560
148}
149
150/**
151 * Convert 16 bit address and 16 bit command to 32 bit NECRaw data

Callers 1

Calls 3

enableIROutMethod · 0.80
markMethod · 0.80
spaceMethod · 0.80

Tested by

no test coverage detected