Saturday, June 15, 2013

ir remote interface with arduino

this is the code for ir remote interface with arduino

#include <IRremote.h>
int receiver = 11;
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();
  }
}

you can find video for the same on my youtube video tutorial!!!!!


No comments:

Post a Comment