ESPNOW + WiFi

This commit is contained in:
2025-07-28 16:44:06 -04:00
parent 0e492db1c6
commit 5f012c02e1

View File

@@ -15,7 +15,7 @@ static void mqtt_publish_task(void *arg) {
while (1) {
// Publish a message every 5 seconds
esp_mqtt_client_publish(mqtt_client, "/esp/test", "Hello!", 0, 1, 0);
esp_mqtt_client_publish(mqtt_client, "/bitrider/temp", "Hello!", 0, 1, 0);
vTaskDelay(pdMS_TO_TICKS(1000));
ESP_LOGI(MQTT_TAG, "Called task to publish topic /esp/test");
}