HRV -> Mood

Dependencies:   MAX30101 Hexi_KW40Z Hexi_OLED_SSD1351

Files at this revision

API Documentation at this revision

Comitter:
jeannie9809
Date:
Thu Mar 21 06:15:50 2019 +0000
Parent:
19:f9f76e6d0c68
Commit message:
Done

Changed in this revision

8cee5929f4d8/main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f9f76e6d0c68 -r d62cec0a0f5c 8cee5929f4d8/main.cpp
--- a/8cee5929f4d8/main.cpp	Mon Mar 18 16:42:54 2019 +0000
+++ b/8cee5929f4d8/main.cpp	Thu Mar 21 06:15:50 2019 +0000
@@ -476,8 +476,9 @@
                 valence_arousal += 20;
             else
                 valence_arousal += 10;
+            ready_to_send = true;
             printf("valence_arousal = %d   ", valence_arousal);
-            ready_to_send = true;
+            
         }
         
         ready = false; // last line