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 WakeUp_STM32
Revision 3:1d19ad5ddf52, committed 2020-03-13
- Comitter:
- kenjiArai
- Date:
- Fri Mar 13 03:33:50 2020 +0000
- Parent:
- 2:4793eeeac6d0
- Commit message:
- modified comments and constant
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Mar 12 09:29:18 2020 +0000
+++ b/main.cpp Fri Mar 13 03:33:50 2020 +0000
@@ -6,7 +6,7 @@
* http://www7b.biglobe.ne.jp/~kenjia/
* https://os.mbed.com/users/kenjiArai/
* Revised: March 12th, 2020
- * Revised: March 12th, 2020
+ * Revised: March 13th, 2020
*/
/*
@@ -14,7 +14,11 @@
https://forums.mbed.com/t/how-to-deep-sleep/7551
Tested on
-
+ Nucleo-F401RE
+ Nucleo-F411RE
+ Nucleo-F446RE
+ Nucleo-L053R8 only os2
+ Nucleo-L073RZ only os2
Nucleo-L152RE
*/
@@ -65,7 +69,7 @@
printf("\r\nCheck current consumption at Deep-sleep mode.\r\n");
print_revision();
seconds = time(NULL);
- if (seconds < DATE_20200220_222222) {
+ if (seconds < DATE_20200222_222222) {
strftime(buf, 50, " %B %d,'%y, %H:%M:%S\r\n", localtime(&seconds));
pc.printf("[Time] %s\r\n", buf);
time_enter_mode();