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.
Revision 1:7b6bc8042945, committed 2014-09-28
- Comitter:
- dpcinci
- Date:
- Sun Sep 28 03:29:45 2014 +0000
- Parent:
- 0:e23fabfe5cbd
- Commit message:
- kj
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e23fabfe5cbd -r 7b6bc8042945 main.cpp --- a/main.cpp Sun Sep 28 03:24:31 2014 +0000 +++ b/main.cpp Sun Sep 28 03:29:45 2014 +0000 @@ -45,16 +45,16 @@ while(1) { x = (xAxis.read()-xStatic)*50; - y = (yAxis.read()-yStatic)*-50; + y = (yAxis.read()-yStatic)*(-50); mouse.move(x,y); - if(D8){ + if(go==0){ led1 = 0; led2 = 1; } - if(!D8){ + if(go==1){ led1 = 1; led2 = 0; }