For making the TOY CAR Controlled via TV Remote, The CODE You Need, To Hack TV Remote:
#include<IRremote.h>
IRrecv IRrecv(11);
decode_results results;
String s;
void setup()
{
Serial.begin(9600);
IRrecv.enableIRIn();
}
void loop()
{
if (IRrecv.decode(&results))
{
s=String(int(results.value));
Serial.println(s);
IRrecv.resume();
}
}
click here —–> Code for running your Toy Car via IR TV Remote