DCmotor rotation depends on pin switch

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "Dcmotor.h"
00003  
00004 Dcmotor Rotation;
00005  
00006 int main() {
00007     Rotation.Dc();
00008     Rotation.Dc();
00009 }