irrecv.resume(); // Receive the next value
}
}
lcd.clear();
lcd.setCursor(0, 0); //setting cursor in the first row and column,
lcd.print(" Wait Signal ");
stopp();
}
void setup()
{
LCD1602_init();
M_Control_IO_config();
Set_Speed(Lpwm_val,Rpwm_val);
irrecv.enableIRIn(); // Start the receiver
Serial.begin(9600);
//initializing serial port, Bluetooth used as serial port, setting baud ratio at 9600
lcd.setCursor(0, 0); //setting cursor at the first row and column
lcd.print(" Wait Signal ");
stopp();
}
void loop()
{
if (irrecv.decode(&results)) {
if(results.value == IR_Stop )IR_Control();
irrecv.resume(); // Receive the next value
}
}
keyestudio
www.keyestudio.com
100
Need help?
Do you have a question about the 4WD Bluetooth Multi-functional Car and is the answer not in the manual?