first commit

This commit is contained in:
编码猿
2024-09-27 01:22:07 +08:00
commit 1360daaab0
931 changed files with 131068 additions and 0 deletions

View File

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