dc motor rotations are depending upon the pins given to mbed board

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

main.cpp

Committer:
KIRAN_PALTANKAR
Date:
2016-11-29
Revision:
2:d2ddd762da24
Parent:
0:fb6bbc10ffa0

File content as of revision 2:d2ddd762da24:

#include "mbed.h"
#include "Dcmotor.h"
 
Dcmotor Rotation;
 
int main() {
    Rotation.Dc();
    Rotation.Dc();
}