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

Function sendNECMinimal

src/TinyIRSender.hpp:181–183  ·  view source on GitHub ↗

* Send NEC with 8 or 16 bit address or command depending on the values of aAddress and aCommand. * @param aAddress - If aAddress < 0x100 send 8 bit address and 8 bit inverted address, else send 16 bit address. * @param aCommand - If aCommand < 0x100 send 8 bit command and 8 bit inverted command, else send 16 bit command. * @param aNumberOfRepeats - Number of repeats send at a period of 110 m

Source from the content-addressed store, hash-verified

179 * @param aSendNEC2Repeats - Instead of sending the NEC special repeat code, send the original frame for repeat.
180 */
181void sendNECMinimal(uint8_t aSendPin, uint16_t aAddress, uint16_t aCommand, uint_fast8_t aNumberOfRepeats) {
182 sendNEC(aSendPin, aAddress, aCommand, aNumberOfRepeats); // sendNECMinimal() is deprecated
183}
184void sendNEC(uint8_t aSendPin, uint16_t aAddress, uint16_t aCommand, uint_fast8_t aNumberOfRepeats, bool aSendNEC2Repeats) {
185 pinModeFast(aSendPin, OUTPUT);
186

Callers

nothing calls this directly

Calls 1

sendNECFunction · 0.85

Tested by

no test coverage detected