-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Description
Hi,
I'm not able to set pulse length to 184 (or similar) value:
if (wiringPiSetup () == -1) { return 1; }
RCSwitch mySwitch = RCSwitch();
mySwitch.enableTransmit(0);
mySwitch.setProtocol(1);
mySwitch.setPulseLength(184);
mySwitch.send(BUTTON_1_ON_BINARY);
This code should theoretically sent particular binary code using protocol 1 and pulse length 184, but after executing it code with pulse 415 and protocol 5 is send.
If I change pulse length to ~284 or more - everything works as expected.
System info:
Raspberry Pi Model B Rev 2
Raspbian GNU/Linux 10 (buster)" Kernel 4.19.75+
Metadata
Metadata
Assignees
Labels
No labels