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

Method sendSamsungMSB

src/ir_Samsung.hpp:399–410  ·  view source on GitHub ↗

Old version with MSB first

Source from the content-addressed store, hash-verified

397
398// Old version with MSB first
399void IRsend::sendSamsungMSB(unsigned long data, int nbits) {
400 // Set IR carrier frequency
401 enableIROut (SAMSUNG_KHZ);
402
403 // Header
404 mark(SAMSUNG_HEADER_MARK);
405 space(SAMSUNG_HEADER_SPACE);
406
407 // Old version with MSB first Data + stop bit
408 sendPulseDistanceWidthData(SAMSUNG_BIT_MARK, SAMSUNG_ONE_SPACE, SAMSUNG_BIT_MARK, SAMSUNG_ZERO_SPACE, data, nbits,
409 PROTOCOL_IS_MSB_FIRST);
410}
411void IRsend::sendSAMSUNG(unsigned long data, int nbits) {
412 sendSamsungMSB(data, nbits);
413}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected