浏览代码

Update ESP32.cpp

WhatAmIDoingHere24 8 月之前
父节点
当前提交
73ae77987b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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