Demo entry 6754794

zzz

   

Submitted by anonymous on Jul 22, 2018 at 03:46
Language: vhdl. Code size: 381 Bytes.

void turn_left_slight();  //左小转
void turn_left_big();    //左大转
void turn_right_slight();//右小转
void turn_right_big();   //右大转
void turn_left_slight() {
	PWMDTY01 = MID_DIRECTION - 150;
}
void turn_left_big() {
	PWMDTY01 = MID_DIRECTION - 600;
}
void turn_right_slight() {
	PWMDTY01 = MID_DIRECTION + 150;
}
void turn_right_big() {
	PWMDTY01 = MID_DIRECTION + 700;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).