support for longer pulses, as delayMicroseconds can only wait 16383us #432
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I am playing with NICE flo2 [1] remotes with M1E chip [2]
Based on the output from "receiver example" the protocol of these remotes is 11 with pulses around 665us:
unfortunately, "send example" did not work for me because the protocol requires 35x665us pulse which is more than 16383(max for delayMicrosecons() [3]).
so I simply split delays to milliseconds delay and microseconds delay using basic calculations, which works for me.
generated codes using send example with simple mySwitch.setProtocol(11,665);
[1] https://www.remotecontrol-express.com/remote+NICE+:+FLO2+%28SWITCHS%29
[2] https://datasheetspdf.com/pdf-file/1404207/MOSDESIGN/M1E/1
[3] https://www.arduino.cc/reference/en/language/functions/time/delaymicroseconds/