This library is using initial synchronisation pulse to determine base delay value used for decoding data. Some cheap transmitters use slightly shorter synchronisation pulse and, as a result, system is unable to recognize the data sent.
Setting setReceiveUsingProtocolTiming(true) tells library to use standard delay for protocol (e.g. 350 microseconds for protocol 1) to decode input.
This makes receiver more robust - able to receive data that otherwise was ignored.
setReceiveUnknownProtocol()
This is used as debugging aid only.
When system is unable to recognize any valid protocol it produces no output. It is difficult to tell is system didn't receive any data or was unable to decode it.
With setReceiveUnknownProtocol(true) you can see the dump of timers even if no valid protocol was recognized. The ReceiveDemo_Advanced example was updated to use it.
This library is using initial synchronisation pulse to determine base delay value used for decoding data. Some cheap transmitters use slightly shorter synchronisation pulse and, as a result, system is unable to recognize the data sent.
Setting setReceiveUsingProtocolTiming(true) tells library to use standard delay for protocol (e.g. 350 microseconds for protocol 1) to decode input. This makes receiver more robust - able to receive data that otherwise was ignored.
This is used as debugging aid only. When system is unable to recognize any valid protocol it produces no output. It is difficult to tell is system didn't receive any data or was unable to decode it. With setReceiveUnknownProtocol(true) you can see the dump of timers even if no valid protocol was recognized. The
ReceiveDemo_Advanced
example was updated to use it.