Closed buccaneer-jak closed 1 month ago
This shows the problem and the solution.
The example code was not working on my ESP32 WROOM until I came across https://stackoverflow.com/questions/63123935/rcswitch-library-seemingly-not-working-for-433-hz-receiver-on-esp32-nodemcu
Changing mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
TO pinMode(2, INPUT); mySwitch.enableReceive(digitalPinToInterrupt(2));
fixed my problem although I didn't go through any of the other examples given on that stackoverflow link.
This shows the problem and the solution.
The example code was not working on my ESP32 WROOM until I came across https://stackoverflow.com/questions/63123935/rcswitch-library-seemingly-not-working-for-433-hz-receiver-on-esp32-nodemcu
Changing mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
TO pinMode(2, INPUT); mySwitch.enableReceive(digitalPinToInterrupt(2));
fixed my problem although I didn't go through any of the other examples given on that stackoverflow link.