Create a motor object, to control a motor using L293DNE and FDRM-KL46z.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Dogcatfee
Date:
Wed Oct 25 00:05:33 2017 +0000
Parent:
2:538f0e257365
Commit message:
Remove Errors, Use export friendly mbed library.

Changed in this revision

Motor.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 538f0e257365 -r 41acca236570 Motor.cpp
--- a/Motor.cpp	Fri Oct 21 16:39:10 2016 +0000
+++ b/Motor.cpp	Wed Oct 25 00:05:33 2017 +0000
@@ -31,6 +31,6 @@
     }//End of Stop
     
 void Motor::Speed(int motor_speed) {
-   float percantage = motor_speed/100;
+   //float percantage = motor_speed/100;
 
     }//End of Speed
\ No newline at end of file
diff -r 538f0e257365 -r 41acca236570 mbed.bld
--- a/mbed.bld	Fri Oct 21 16:39:10 2016 +0000
+++ b/mbed.bld	Wed Oct 25 00:05:33 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/b0220dba8be7
\ No newline at end of file
+https://os.mbed.com/users/mbed_official/code/mbed/builds/b484a57bc302
\ No newline at end of file