Hi,
I m using TSOP 1738 ir receiver connected to Arduino then to my PC added Arduino-IRremote-master
library in Arduino(Version 1.6.7), I have uploaded below code to Arduino ,in serial monitor when I press remote button it is showing 80BF49B6 80BFC936 80BF33CC only when remote is pressed.
But in Laptop
Now I m using same TSOP 1738 ir receiver connected to Arduino then to my Laptop added Arduino-IRremote-master library in Arduino(Version 1.6.7), I have uploaded below code to Arduino ,in serial monitor it showing some garbage value without pressing remote.
Pls help me in this regard.
#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
}
delay(100);
}
Regards,
Shwetha MV