EasyManua.ls Logo

Keyestudio 4WD Bluetooth Multi-functional Car - Page 148

Keyestudio 4WD Bluetooth Multi-functional Car
151 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
keyestudio
www.keyestudio.com
146
break;
default:
break;
}
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 Bluetooth_Control() //Bluetooth remote control
{
lcd.setCursor(0, 0); //setting cursor in the first row and column
lcd.print("BluetoothControl");
if(Serial.available()) //to judge whether serial port receive data
{
Bluetooth_val=Serial.read(); //reading value of Bluetooth serial port, giving the value to val
switch(Bluetooth_val)
{
case 'U':advance(); //UP
break;
case 'D': back(); //back
break;

Related product manuals