hi guys!
i have an ir receiver(TSOP38238) and a sony remote control! my problem is that when i press one button it displays 3 times the same code, for example if i press 4 then it appears c10 its something wrong with the code or with the sony control?
c10
c10
code:
#include <IRremote.h>
int receiver = 7;
IRrecv irrecv(receiver);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume();
}
}