btclock_v3/src/lib/button_handler.hpp

13 lines
263 B
C++

#pragma once
#include <Arduino.h>
#include "lib/screen_handler.hpp"
#include "lib/shared.hpp"
#include "lib/timers.hpp"
extern TaskHandle_t buttonTaskHandle;
void buttonTask(void *pvParameters);
void IRAM_ATTR handleButtonInterrupt();
void setupButtonTask();