ESPNOW + WiFi

This commit is contained in:
2025-07-28 17:29:17 -04:00
parent 099618c69a
commit 2e625c312e

View File

@@ -12,6 +12,9 @@ static const char* MQTT_TAG = "MQTT_Robot";
static esp_mqtt_client_handle_t mqtt_client = NULL; static esp_mqtt_client_handle_t mqtt_client = NULL;
static float temp_value = 0.0f; static float temp_value = 0.0f;
static float battery_voltage = 0.0f;
static float sys_current = 0.0f;
static float sys_power = 0.0f;
static void mqtt_publish_task(void *arg) { static void mqtt_publish_task(void *arg) {
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg; esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg;