* Static function variant of IRsend::sendNECRepeat * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. */
| 141 | * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. |
| 142 | */ |
| 143 | void 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 |
no test coverage detected