Keyestudio 4WD Bluetooth Multi-functional Car Manual page 149

Hide thumbs Also See for 4WD Bluetooth Multi-functional Car:
Table of Contents

Advertisement

case 'L':turnL();
//Left
break;
case 'R':turnR(); //Right
break;
case 'S':stopp();
//stop
break;
}
}
}
void setup()
{
pinMode(servopin,OUTPUT); //setting motor interface as output
LCD1602_init();
M_Control_IO_config();
Set_Speed(Lpwm_val,Rpwm_val); //setting initialized speed
Set_servopulse(DuoJiao);
Sensor_IO_Config();
irrecv.enableIRIn();
pinMode(inputPin, INPUT);
pinMode(outputPin, OUTPUT);
Serial.begin(9600);
lcd.setCursor(0, 0);
lcd.print(" Wait Signal "); //LCD printing character string
stopp();
}
keyestudio
//initializing 1602
//motor controlling the initialization of IO
//setting initialized motor angle
//initializing IO of line tracking module
//starting receiving IR remote control signal
//starting receiving IR remote control signal
//IO of ultrasonic module
//initialized serial port , using Bluetooth as serial port, setting baud
//setting cursor at 0.0
//stop
www.keyestudio.com
147

Advertisement

Table of Contents
loading

Related Products for Keyestudio 4WD Bluetooth Multi-functional Car

Table of Contents