* Maybe no one needs it in the wild... * As above, but we are able to send e.g. 0x0042 as 16 bit address, which is otherwise interpreted as 8 bit address * @param aNumberOfRepeats If < 0 then only a special repeat frame will be sent */
| 218 | * @param aNumberOfRepeats If < 0 then only a special repeat frame will be sent |
| 219 | */ |
| 220 | void IRsend::sendSamsung16BitAddressAndCommand(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats) { |
| 221 | |
| 222 | LongUnion tSendValue; |
| 223 | // send 16 bit address |
| 224 | tSendValue.UWords[0] = aAddress; |
| 225 | // Send 16 command bits |
| 226 | tSendValue.UWords[1] = aCommand; |
| 227 | |
| 228 | sendPulseDistanceWidth_P(&SamsungProtocolConstants, tSendValue.ULong, SAMSUNG_BITS, aNumberOfRepeats); |
| 229 | } |
| 230 | /** |
| 231 | * Here we send Samsung48 |
| 232 | * We send 2 x (8 bit command and then ~command) |
nothing calls this directly
no outgoing calls
no test coverage detected