hallo

Dependencies:   mbed TB6612FNG

Files at this revision

API Documentation at this revision

Comitter:
kerim4040
Date:
Wed Jul 24 12:53:42 2019 +0000
Parent:
0:d8e07dd54f68
Commit message:
kl

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r d8e07dd54f68 -r 1c01d379dd37 main.cpp
--- a/main.cpp	Fri Jun 24 06:44:59 2016 +0000
+++ b/main.cpp	Wed Jul 24 12:53:42 2019 +0000
@@ -4,7 +4,7 @@
 #include "TB6612FNG.h"
 
 //                    PWMA, AIN1, AIN2, PWMBm, BIN1, BIN2, STBY
-TB6612FNG motorDriver(PTC9, PTB1, PTB0, PTA1, PTB3, PTC2, PTB2);
+TB6612FNG motorDriver(PC_6, PD_10, PD_8, PC_8, PG_2, PG_4, PD_12);
 
 float fPwmPeriod;
 float fPwmPulsewidth;
@@ -26,18 +26,14 @@
         
         motorDriver.motorA_cw();//ClockWise
         wait(2);
-        
-        motorDriver.motorA_stop();//Stop
-        wait(2);
-        
+                
         motorDriver.motorB_ccw();
         wait(2);
         
         motorDriver.motorB_cw();
         wait(2);
         
-        motorDriver.motorB_stop();
-        wait(2);
+
     }
     
 }
diff -r d8e07dd54f68 -r 1c01d379dd37 mbed.bld
--- a/mbed.bld	Fri Jun 24 06:44:59 2016 +0000
+++ b/mbed.bld	Wed Jul 24 12:53:42 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file