Create a motor object, to control a motor using L293DNE and FDRM-KL46z.
Dependencies: mbed
Revision 3:41acca236570, committed 2017-10-25
- 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 |
--- 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
--- 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