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.
main.cpp
- Committer:
- jasonliujc
- Date:
- 2015-12-04
- Revision:
- 3:7ca21112a13d
- Parent:
- 1:45f1f67eab62
- Child:
- 8:1ce513eff545
File content as of revision 3:7ca21112a13d:
#include "mbed.h" #include "util.h" int main() { while(1){ pc.printf("L: %d\n", leftMotor.getPulses()); pc.printf("R: %d\n", rightMotor.getPulses()); leftMotor.setPwm(1.0); rightMotor.setPwm(1.0); } return 0; } /// add something