feat: 全量同步 254 个常用的 Arduino 扩展库文件

This commit is contained in:
yczpf2019
2026-01-24 16:05:38 +08:00
parent c665ba662b
commit 397b9a23a3
6878 changed files with 2732224 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
#ifndef BLINKER_ESP_MQTT_AUTO_H
#define BLINKER_ESP_MQTT_AUTO_H
#if defined(ESP8266) || defined(ESP32)
#ifndef BLINKER_ARDUINOJSON
#define BLINKER_ARDUINOJSON
#endif
#include "Adapters/BlinkerMQTTAUTO.h"
#include "Blinker/BlinkerApi.h"
typedef BlinkerApi BApi;
class BlinkerESPMQTTAUTO : public BlinkerApi
{
public :
void begin(const char* _key, const char* _type)
{
transport(Transp);
BApi::begin(_key, _type);
BApi::loadTimer();
BLINKER_LOG(BLINKER_F("ESP8266_MQTT_AUTO initialized..."));
}
private :
BlinkerMQTTAUTO Transp;
};
#endif
#endif