Drive Robot To Move - Keyestudio Ks0428 Manual

Table of Contents

Advertisement

www.keyestudio.com

(3) Drive Robot to Move

Through the above circuit diagram, the direction pin of A motor is
D12, and speed pin is D3; D13 is the direction pin of B motor, D11 is
speed pin.
We know how to control digital ports according to the following
chart.
PWM decides 2 motors to turn so as to drive robot car. The PWM
value is in the range of 0-255, the larger the number, the faster the
motor rotates
133

Advertisement

Table of Contents
loading

Table of Contents