www.keyestudio.com
(3) Test Code
/*
keyestudio smart turtle robot
lesson 11
flowing turtle
http://www.keyestudio.com
*/
int left_ctrl = 2;//define the direction control pin of A motor
int left_pwm = 9;//define the speed control pin of A motor
int right_ctrl = 4;//define the direction control pin of B motor
168