Modify the previous example to use NVStore for keeping track of how many times every different LED turned on This information must persist across system reboots! Print this information on STDout at every boot before running the application

Dependencies:   BSP_B-L475E-IOT01

Revision:
1:288cdb94027a
Parent:
0:063b251c6aed
Child:
2:4cfbd0da7242
--- a/main.cpp	Thu Dec 06 15:53:04 2018 +0000
+++ b/main.cpp	Thu Dec 06 15:54:33 2018 +0000
@@ -118,7 +118,7 @@
             value_3+=1;
             nvstore.set(key_3, sizeof(value_3), &value_3);
         }
-      printf("Press the restart button to sample again.");
+      printf("Press the restart button to sample again.\n");
       
       fflush(stdout);
       int err = fclose(f);