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

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

Committer:
KIRAN_PALTANKAR
Date:
Tue Nov 29 12:58:13 2016 +0000
Revision:
2:d2ddd762da24
Parent:
0:fb6bbc10ffa0
dc motor rotations are depending upon the pins given to mbed board

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 0:fb6bbc10ffa0 1 #include "mbed.h"
KIRAN_PALTANKAR 2:d2ddd762da24 2 #include "Dcmotor.h"
KIRAN_PALTANKAR 2:d2ddd762da24 3
KIRAN_PALTANKAR 2:d2ddd762da24 4 Dcmotor Rotation;
KIRAN_PALTANKAR 2:d2ddd762da24 5
simon 0:fb6bbc10ffa0 6 int main() {
KIRAN_PALTANKAR 2:d2ddd762da24 7 Rotation.Dc();
KIRAN_PALTANKAR 2:d2ddd762da24 8 Rotation.Dc();
simon 0:fb6bbc10ffa0 9 }
KIRAN_PALTANKAR 2:d2ddd762da24 10