From f5c2200e7974c34ad77382ed5141f7a58b2908b4 Mon Sep 17 00:00:00 2001 From: Glahera Date: Tue, 5 Nov 2024 09:31:34 +0700 Subject: [PATCH] Remove string print from BLE intepreter --- src/lightingFirmware/esp32_test0/esp32_test0.ino | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lightingFirmware/esp32_test0/esp32_test0.ino b/src/lightingFirmware/esp32_test0/esp32_test0.ino index 7b3696e8..3a989a1b 100644 --- a/src/lightingFirmware/esp32_test0/esp32_test0.ino +++ b/src/lightingFirmware/esp32_test0/esp32_test0.ino @@ -300,18 +300,16 @@ void setup() { void loop() { - // Send the DMX packet. + // Save Old Mode int modeOld = mode; // notify changed value if (deviceConnected) { - Serial.printf("\nI received the following string: %s",String(pCharacteristic->getValue())); Serial.printf("\nI received the following bytes: "); uint8_t* btMessage = pCharacteristic->getData(); for (int i = 0; i < sizeof(btMessage); i++){ Serial.printf("%d ",btMessage[i]); }; - delay(100); } // disconnecting if (!deviceConnected && oldDeviceConnected) {