ir receiver not working
It does not write the data coming from the remote control to the serial port, it has been translated from Turkish to English
ir receiver not working
It does not write the data coming from the remote control to the serial port, it has been translated from Turkish to English
We can't see your code.
We can't see your schematic.
We don't know what components you are using.
We don't know how you are testing, or what you are expecting.
Can you see our problem?
ok
code:
#include <IRremote.h>
IRrecv ir_sensor(2);
decode_results results;
void setup() {
ir_sensor.enableIRIn();
Serial.begin(9600);
}
void loop() {
if(ir_sensor.decode(&results)){
Serial.println(results.value);
delay(150);
}
}
Start with the library examples and you will be lucky!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.