Michael Ernst Peter / Mbed OS Test_GPS

Dependencies:   Eigen

Revision:
45:5d65b27c9293
Parent:
43:f459f6efaf5c
Child:
47:c74d09a252d4
--- a/main.cpp	Tue May 31 15:54:50 2022 +0000
+++ b/main.cpp	Wed Jun 01 15:00:45 2022 +0200
@@ -8,7 +8,7 @@
 #include "LinearCharacteristics.h"
 
 // logical variable main task
-bool do_execute_main_task = false;  // this variable will be toggled via the user button (blue button) to or not to execute the main task
+bool do_execute_main_task = true;  // this variable will be toggled via the user button (blue button) to or not to execute the main task
 
 // user button on nucleo board
 Timer user_button_timer;            // create Timer object which we use to check if user button was pressed for a certain time (robust against signal bouncing)
@@ -19,7 +19,7 @@
 int main()
 {
     // while loop gets executed every main_task_period_ms milliseconds
-    const int main_task_period_ms = 10;   // define main task period time in ms e.g. 50 ms -> main task runns 20 times per second
+    const int main_task_period_ms = 6;   // define main task period time in ms e.g. 50 ms -> main task runns 20 times per second
     Timer main_task_timer;                // create Timer object which we use to run the main task every main task period time in ms
 
     // led on nucleo board