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

mbed.bld

Committer:
hjjeon
Date:
2014-11-18
Revision:
2:4eb08f46fc91
Parent:
0:5f85a7752a04

File content as of revision 2:4eb08f46fc91:

http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89