Add ability to send repeats via API. Tweak 80-bit timing

Add the ability to identify how many repeats you want on the API command.
Fix timing for bit output when the shade is configured for 80-bits
This commit is contained in:
Robert Strouse 2023-03-19 16:54:19 -07:00
parent 370b8f1a23
commit d3acf6bb5f
4 changed files with 13 additions and 7 deletions

View file

@ -267,7 +267,7 @@ class Transceiver {
void enableReceive();
void disableReceive();
somfy_frame_t& lastFrame();
void sendFrame(byte *frame, uint8_t sync);
void sendFrame(byte *frame, uint8_t sync, uint8_t bitLength = 56);
void beginTransmit();
void endTransmit();
void emitFrame(somfy_frame_t *frame, somfy_rx_t *rx = nullptr);