www.keyestudio.com
pinMode(left_ctrl,OUTPUT);//
pinMode(left_pwm,OUTPUT);//
pinMode(right_ctrl,OUTPUT);//
pinMode(right_pwm,OUTPUT);//
Serial.begin(9600);//
// In case the interrupt driver crashes on setup, give a clue
// to the user what's going on.
Serial.println("Enabling IRin");
irrecv.enableIRIn(); // Start the receiver
Serial.println("Enabled IRin");
myMatrix.begin(112);
myMatrix.clear();
}
void loop()
{
if (irrecv.decode(&results))
{
irr_val = results.value;
Serial.println(irr_val, HEX);//serial prints the read IR remote signals
switch(irr_val)
{
case 0xFF629D : car_front();
190
Need help?
Do you have a question about the Smart Little Turtle Robot V3 and is the answer not in the manual?
Questions and answers