diff --git a/src/main.cpp b/src/main.cpp index e4dd5f2..03a21bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,13 +39,13 @@ void loop() { if (incoming == 57) { ESP_BT.println("Free memory: " + String(esp_get_free_heap_size()) + " bytes"); - } - - if(Serial2.available() && isLogging){ - String incomingData = Serial2.readStringUntil('\n'); - ESP_BT.println(incomingData); } } + // Receive from Remote and send to Bluetooth + if(Serial2.available() && isLogging){ + ESP_BT.println(Serial2.readStringUntil('\n')); + } + delay(100); } \ No newline at end of file