Emakefun Encoder Motor Arduino Lib 1.1.1
Loading...
Searching...
No Matches
drive_dc_motor.ino File Reference

Example: Use PWM to drive the DC motor to rotate forward and backward. More...

#include "encoder_motor_lib.h"
#include "motor.h"

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 

Detailed Description

Example: Use PWM to drive the DC motor to rotate forward and backward.

Definition in file drive_dc_motor.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 84 of file drive_dc_motor.ino.

◆ setup()

void setup ( )

Definition at line 73 of file drive_dc_motor.ino.