btclock_v2/src/screens/countdown.hpp
2023-06-10 21:23:31 +02:00

21 lines
No EOL
540 B
C++

#pragma once
#include "base.hpp"
#include "config.h"
#include "shared.hpp"
#include <string>
#include <iostream>
#include "tasks/epd.hpp"
class CountdownScreen {
protected:
static uint countdownMinutes;
static uint countdownSeconds;
static std::array<String, 7> epdContent;
public:
static void init();
static void showScreen();
static std::array<String, 7> getEpdContent();
static void setCountdownSeconds(uint sec);
static void countdownTask(void *pvParameters);
};