move MicroPython and dashboards -> tutorials

This commit is contained in:
Sergio R. Caprile committed 2025-02-26 11:31:01 -03:00
1 parent 1078ba0a92
commit b3f5d11275
97 files changed
+22 -20

No files matched your search

@@ -0,0 +1,26 @@
// Copyright (c) 2023 Cesanta Software Limited
// All rights reserved
#pragma once
#include "mongoose.h"
#include "hal.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MQTT_DASHBOARD 1
#define MQTT_KEEPALIVE_SEC 60
#define MQTT_SERVER_URL "mqtt://broker.hivemq.com:1883"
#define MQTT_ROOT_TOPIC "mg_mqtt_dashboard"
extern char *g_mqtt_server_url;
extern char *g_device_id;
extern char *g_root_topic;
void web_init(struct mg_mgr *mgr);
void web_free(void);
#ifdef __cplusplus
}
#endif