DFRobot DFR0004 Manual - Page 7
Browse online or download pdf Manual for Computer Hardware DFRobot DFR0004. DFRobot DFR0004 11 pages. Dfrduino romeo-all in one controller
Also for DFRobot DFR0004: Manual (13 pages), Manual (16 pages)
The PWM DC motor control is implemented by manipulating two digital IO pins and two PWM
pins. As illustrated in the diagram above (Figure 5), Pin 4,7 (7,8 for old Romeo version) are
motor direction control pins, Pin 5,6 (6,9 for old Romeo version) are motor speed control pins.
For previous Romeo board, the pins used to control the motor is Pin 7,8 (Direction), Pin 6,9
(Speed). You can find the information at the right side of the Motor Control Pin Jumpers.
Sample Code: