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 |
diff -r c8ae2c222d57 -r aa4b64e1d35c main.cpp --- 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