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: 4DGL-uLCD-SE PinDetect Servo mbed
Fork of 4180FinalProject_Fall2017_ArmaanMehta_JasonLukose by
Revision 12:18986b2f67d5, committed 2017-12-13
- Comitter:
- amehta64
- Date:
- Wed Dec 13 08:45:03 2017 +0000
- Parent:
- 11:91fe365dbcf4
- Commit message:
- finalized all the details, ready for presenting
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 91fe365dbcf4 -r 18986b2f67d5 main.cpp --- a/main.cpp Wed Dec 13 08:33:59 2017 +0000 +++ b/main.cpp Wed Dec 13 08:45:03 2017 +0000 @@ -50,10 +50,10 @@ menu = menu++; } else if (mode < 2) { menu = menu++; - if (temp < 212) - temp = temp +5; + if (temp > 70) + temp = temp -5; else - temp = 215; + temp = 70; } else if (mode < 3) { menu = menu++; } else { @@ -78,10 +78,10 @@ menu = menu--; } else if (mode < 2) { menu = menu--; - if (temp >70) - temp = temp -5; + if (temp < 212) + temp = temp +5; else - temp = 70; + temp = 215; } else if (mode < 3) { menu = menu--; } else {