* Static function for sending special repeat frame. * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. */
| 129 | * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. |
| 130 | */ |
| 131 | void sendLGSpecialRepeat() { |
| 132 | IrSender.enableIROut(LG_KHZ); // 38 kHz |
| 133 | IrSender.mark(LG_HEADER_MARK); // + 8416 |
| 134 | IrSender.space(LG_REPEAT_HEADER_SPACE); // - 2104 |
| 135 | IrSender.mark(LG_BIT_MARK); // + 500 |
| 136 | } |
| 137 | |
| 138 | uint32_t IRsend::computeLGRawDataAndChecksum(uint8_t aAddress, uint16_t aCommand) { |
| 139 | uint32_t tRawData = ((uint32_t) aAddress << (LG_COMMAND_BITS + LG_CHECKSUM_BITS)) | ((uint32_t) aCommand << LG_CHECKSUM_BITS); |
nothing calls this directly
no test coverage detected