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

Method sendOpenLASIR

src/ir_OpenLASIR.hpp:187–190  ·  view source on GitHub ↗

* Send an OpenLASIR frame with special NEC-style repeats. * There is NO delay after the last sent repeat! * * @param aAddress 8-bit address (Block ID). Only lower 8 bits are used. * @param aCommand 16-bit command (Device ID + Mode + Data). * @param aNumberOfRepeats If < 0 then only a special NEC repeat frame will be sent. */

Source from the content-addressed store, hash-verified

185 * @param aNumberOfRepeats If < 0 then only a special NEC repeat frame will be sent.
186 */
187void IRsend::sendOpenLASIR(uint8_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats) {
188 sendPulseDistanceWidth_P(&NECProtocolConstants, computeOpenLASIRRawDataAndChecksum(aAddress, aCommand), OPENLASIR_BITS,
189 aNumberOfRepeats);
190}
191
192/**
193 * Send an OpenLASIR frame with special NEC-style repeats.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected