* first refactored version which is accessible through web interface

This commit is contained in:
lumapu 2022-08-14 01:40:55 +02:00
parent 15402dbd99
commit 3c8a4c49a1
5 changed files with 123 additions and 409 deletions

View file

@ -7,10 +7,8 @@
#include "app.h"
#include "config.h"
#include "web.h"
app myApp;
web *mWebInst;
//-----------------------------------------------------------------------------
IRAM_ATTR void handleIntr(void) {
@ -21,7 +19,6 @@ IRAM_ATTR void handleIntr(void) {
//-----------------------------------------------------------------------------
void setup() {
myApp.setup(WIFI_TRY_CONNECT_TIME);
mWebInst = new web(&myApp);
// TODO: move to HmRadio
attachInterrupt(digitalPinToInterrupt(myApp.getIrqPin()), handleIntr, FALLING);