Old version with MSB first
| 397 | |
| 398 | // Old version with MSB first |
| 399 | void 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 | } |
| 411 | void IRsend::sendSAMSUNG(unsigned long data, int nbits) { |
| 412 | sendSamsungMSB(data, nbits); |
| 413 | } |
nothing calls this directly
no outgoing calls
no test coverage detected