@zneb wrote:
I have tried every example I can find ,but they all load properly .I get no print out with button push. Using ELEGOO uno R3 and this is the last sketch I tried.
#include <IRremote.h> #include <IRremoteInt.h> #include <IRremote.h> int RECV_PIN = 11; IRrecv irrecv(RECV_PIN); decode_results results; void setup() { Serial.begin(9600); irrecv.enableIRIn(); // Start the receiver } void loop() { if (irrecv.decode(&results)) { Serial.println(results.value, HEX); irrecv.resume(); // Receive the next value } }
Posts: 6
Participants: 2