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.
Dependents: Lab04_Check_StandBy_os2 Lab04_wakeup_STM32
Revision 3:aa8fb11c30d2, committed 2021-11-12
- Comitter:
- cspista
- Date:
- Fri Nov 12 12:42:09 2021 +0000
- Parent:
- 2:502051beeb95
- Commit message:
- Few typos were corrected
Changed in this revision
WakeUp_STM32.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/WakeUp_STM32.h Thu Nov 11 14:35:19 2021 +0000 +++ b/WakeUp_STM32.h Fri Nov 12 12:42:09 2021 +0000 @@ -14,7 +14,12 @@ * Created: September 21st, 2017 * Revised: March 12th, 2020 */ - +/* + * Modified for correcting few typos + * by Istvan Cserny on Nov 11, 2021. + * last revised: Nov 12, 2021. + */ + #include "mbed.h" /** @@ -29,10 +34,10 @@ * * int main() { * uint32_t loop_count = 1; - * ThisThread::sleep_for(1000); + * wait(1); * while(true) { - * myled = !my_led; - * if (++count > 4) { + * myled = !myled; + * if (++loop_count > 4) { * WakeUp::standby_then_reset(30000); // 30sec * while(true) {;} // never executing this line * }