sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.89k stars 653 forks source link

Another dirty hack that might work would be switching between both receivers once every second. Of course with the risk of missing some signals, depends on your needs. #443

Open elexal opened 2 years ago

elexal commented 2 years ago

Another dirty hack that might work would be switching between both receivers once every second. Of course with the risk of missing some signals, depends on your needs.

void loop() { mySwitch.enableReceive(0); delay(1000); mySwitch.enableReceive(1); delay(1000); }

Originally posted by @sui77 in https://github.com/sui77/rc-switch/issues/25#issuecomment-172555997

hello I tested this way & not worked to loop set enable receive ...