Keyestudio Ks0428 Manual page 218

Table of Contents

Advertisement

www.keyestudio.com
send_data = send_data >> 1;
the data right by one
}
}
//The sign that data transmission ends
void IIC_end()
{
digitalWrite(SCL_Pin,LOW);
delayMicroseconds(3);
digitalWrite(SDA_Pin,LOW);
delayMicroseconds(3);
digitalWrite(SCL_Pin,HIGH);
delayMicroseconds(3);
digitalWrite(SDA_Pin,HIGH);
delayMicroseconds(3);
}
/*************the function to run motor**************/
void Car_front()
{
digitalWrite(MR_Ctrl,LOW);
analogWrite(MR_PWM,200);
digitalWrite(ML_Ctrl,LOW);
analogWrite(ML_PWM,200);
// Detect bit by bit, so move
218

Advertisement

Table of Contents
loading

Table of Contents