Parcourir la source

Update ESP32.cpp

WhatAmIDoingHere24 il y a 8 mois
Parent
commit
73ae77987b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ESP32.cpp

+ 1 - 1
ESP32.cpp

@@ -12,7 +12,7 @@ MPU6050 mpu;
 Timer time;
 BLECharacteristic *pCharacteristic;
 bool deviceConnected = false;
-int txValue = 0;
+JsonDocument txValue;
 
 #define SERVICE_UUID = NULL //theres a UUID for each esp32 from the FCC we jsut put that data here and copy it below
 #define CHARACTERISTIC_UUID_TX = NULL