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,27 @@
#ifndef BLINKER_ESP_SUBDEVICE_H
#define BLINKER_ESP_SUBDEVICE_H
#ifndef BLINKER_ARDUINOJSON
#define BLINKER_ARDUINOJSON
#endif
#include "Adapters/BlinkerSubDevice.h"
#include "Blinker/BlinkerApi.h"
typedef BlinkerApi BApi;
class BlinkerESPSubDevice : public BlinkerApi
{
public :
void begin(const char* _key, const char* _type)
{
transport(Transp);
BApi::begin(_key, _type);
BLINKER_LOG(BLINKER_F("Blinker SubDevice initialized..."));
}
private :
BlinkerSubDevice Transp;
};
#endif