Loading

Report as inappropriate

This could help: https://learn.sparkfun.com/tutorials/ir-communication then it depends on what motor driver are you using. For the adafruit motor shield v1 and v2 there are functions like "myMotor.run(FORWARD)", you put it in the condition "if(results.value == 0xC284) //if the button press equals the hex value 0xC284
{
//do something useful here
}"
and so on