LEDs and buttons working

This commit is contained in:
Djuri 2023-11-08 12:18:59 +01:00
parent 4f2fbd8a36
commit 91fd921e2e
33 changed files with 3877 additions and 136 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <cstring>
#include <string>
#include <Arduino.h>
#include <HTTPClient.h>
@ -8,6 +9,7 @@
#include "esp_websocket_client.h"
#include "screen_handler.hpp"
#include "led_handler.hpp"
//using namespace websockets;
@ -16,4 +18,5 @@ void setupBlockNotify();
void onWebsocketEvent(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
void onWebsocketMessage(esp_websocket_event_data_t* event_data);
unsigned long getBlockHeight();
unsigned long getBlockHeight();
bool isBlockNotifyConnected();