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: mbed
Diff: src/main.cpp
- Revision:
- 12:fd1fd1857628
- Parent:
- 11:01dcfb29fbc4
- Child:
- 14:e55ae9bb2a81
--- a/src/main.cpp Fri Dec 07 20:42:41 2018 +0000 +++ b/src/main.cpp Sat Dec 08 01:53:36 2018 +0000 @@ -45,6 +45,8 @@ unsigned int loopTime = 0; bool raw = FALSE; bool running = FALSE; +bool testing = FALSE; +bool buck = TRUE; Timer masterTimer; @@ -89,9 +91,13 @@ } if(running){ - updateControls(avals.i12); + if(buck){ + updateControls(avals.i12); + }else{ + updateControls(avals.i48); + } //count++; - }else{ + }else if(!testing){ updateControls(my12); } }//end while(1)