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

Method sendSonyMSB

src/ir_Sony.hpp:206–216  ·  view source on GitHub ↗

* Old version with MSB first data */

Source from the content-addressed store, hash-verified

204 * Old version with MSB first data
205 */
206void IRsend::sendSonyMSB(unsigned long data, int nbits) {
207 // Set IR carrier frequency
208 enableIROut (SONY_KHZ);
209
210 // Header
211 mark(SONY_HEADER_MARK);
212 space(SONY_SPACE);
213
214 // Old version with MSB first Data
215 sendPulseDistanceWidthData(SONY_ONE_MARK, SONY_SPACE, SONY_ZERO_MARK, SONY_SPACE, data, nbits, PROTOCOL_IS_MSB_FIRST);
216}
217void IRsend::sendSony(unsigned long data, int nbits) {
218 sendSonyMSB(data, nbits);
219}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected