Simple PWM for motor control

Dependencies:   mbed

This program is for motor control with Arduino motor shield and LCP 1768.

For motor control with arduino motor shield, it needs direction signal and brake signal. Maybe brake signal is optional. So, the code use three pins, direction(gpio), brake(gpio) and PWM output.

- Schematic /media/uploads/hjjeon/lpc1768_motor_shield_schem.jpg

Committer:
hjjeon
Date:
Tue Nov 18 02:22:12 2014 +0000
Revision:
2:4eb08f46fc91
Parent:
0:5f85a7752a04
Add comments

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hjjeon 0:5f85a7752a04 1 http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89