yes

Revision:
0:2b8bbdd96dca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jun 24 01:21:15 2019 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"              
+ 
+#include "communication.h"
+#include "parameters.h"
+
+bool is_connected = false; ///< True if the connection with the master is available
+bool has_setup = false;
+
+Serial pc(USBTX, USBRX);
+
+Communication read_comm() {
+  return (Communication) Serial.read();
+}
+
+int main() {
+    if (!has_setup) {
+        setup();   
+    }  
+}
+
+int setup() {
+    has_setup = !has_setup
+        
+}
\ No newline at end of file