DCmotor Rotation using select pin

Dependencies:   HelloWorld

Committer:
2bv14ei014
Date:
Fri Nov 25 16:04:42 2016 +0000
Revision:
0:2f9903b5df61
DCmotor Rotation using select pin

Who changed what in which revision?

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