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

Function sendLGSpecialRepeat

src/ir_LG.hpp:131–136  ·  view source on GitHub ↗

* Static function for sending special repeat frame. * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function. */

Source from the content-addressed store, hash-verified

129 * For use in ProtocolConstants. Saves up to 250 bytes compared to a member function.
130 */
131void 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
138uint32_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);

Callers

nothing calls this directly

Calls 3

enableIROutMethod · 0.80
markMethod · 0.80
spaceMethod · 0.80

Tested by

no test coverage detected