Update IRRemoteESP8266 version to 2.5.5
factorize IR send signal function between the 2 types of receiving Add new IRRemoteESP8266 protocols replace pins on mega according schema remove unecessaries spaces
This commit is contained in:
1 parent
0180a0dbd5
commit
f0305236db
149 files changed
+20957
-7850
No files matched your search
@@ -14,16 +14,15 @@
|
||||
//
|
||||
// Args:
|
||||
// data: The contents of the command you want to send.
|
||||
// nbits: The bit size of the command being sent. (SHERWOOD_BITS)
|
||||
// nbits: The bit size of the command being sent. (kSherwoodBits)
|
||||
// repeat: The nr. of times you want the command to be repeated. (Default: 1)
|
||||
//
|
||||
// Status: STABLE / Known working.
|
||||
//
|
||||
// Note:
|
||||
// Sherwood remote codes appear to be NEC codes with a manditory repeat code.
|
||||
// i.e. repeat should be >= SHERWOOD_MIN_REPEAT (1).
|
||||
void IRsend::sendSherwood(uint64_t data, uint16_t nbits,
|
||||
uint16_t repeat) {
|
||||
sendNEC(data, nbits, std::max((uint16_t) SHERWOOD_MIN_REPEAT, repeat));
|
||||
// i.e. repeat should be >= kSherwoodMinRepeat (1).
|
||||
void IRsend::sendSherwood(uint64_t data, uint16_t nbits, uint16_t repeat) {
|
||||
sendNEC(data, nbits, std::max((uint16_t)kSherwoodMinRepeat, repeat));
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user