Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed
Fork of mbed_driver_ver_0_3_0 by
Revision 4:aa4b64e1d35c, committed 2018-11-08
- Comitter:
- yukisega
- Date:
- Thu Nov 08 00:06:23 2018 +0000
- Parent:
- 3:c8ae2c222d57
- Commit message:
- PWM?????
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Oct 28 04:35:33 2018 +0000
+++ b/main.cpp Thu Nov 08 00:06:23 2018 +0000
@@ -199,8 +199,11 @@
g_mtx.unlock();
/* Output PWM */
- motor_P = (0.5 + pwmduty);
- motor_N = (0.5 - pwmduty);
+ motor_P = (0.5 - pwmduty);
+ motor_N = (0.5 + pwmduty);
+
+// motor_P = (0.5 + pwmduty);
+// motor_N = (0.5 - pwmduty);
}//while(1) END
