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 2:d717847767b9, committed 2020-11-03
- Comitter:
 - markschwarzer
 - Date:
 - Tue Nov 03 18:35:31 2020 +0000
 - Parent:
 - 1:e1139c05dee9
 - Commit message:
 - final, compiles
 
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Mon Nov 02 16:04:30 2020 +0000
+++ b/main.cpp	Tue Nov 03 18:35:31 2020 +0000
@@ -70,6 +70,9 @@
             servo=angle+30.0;
             wait(1);
             }
+        else if (angle==180) {
+            servo=0;
+            }
         angle = 0;
         pc.printf("Test servo behavior here!");
         //Run through angles from 0 to 180 ad nauseum: