mirror of
https://github.com/0015/ThatProject.git
synced 2026-01-12 17:27:43 +03:00
OTA Solution - Build your own OTA platform (2/2, ESP32 OTA Application)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "Button2.h"
|
||||
class ButtonCont {
|
||||
private:
|
||||
Button2* button;
|
||||
friend void receiveCallback(Button2& btn);
|
||||
typedef void (*FuncPtrVoid)(void);
|
||||
|
||||
public:
|
||||
FuncPtrVoid released_cb;
|
||||
ButtonCont(FuncPtrVoid f);
|
||||
ButtonCont();
|
||||
~ButtonCont();
|
||||
|
||||
void loop();
|
||||
void eventTrigger();
|
||||
};
|
||||
Reference in New Issue
Block a user