btclock_v3/src/lib/button_handler.hpp

13 lines
256 B
C++
Raw Normal View History

2023-11-07 20:26:15 +00:00
#pragma once
#include <Arduino.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include "shared.hpp"
extern TaskHandle_t buttonTaskHandle;
void buttonTask(void *pvParameters);
void IRAM_ATTR handleButtonInterrupt();
void setupButtonTask();