aboutsummaryrefslogtreecommitdiffstats
path: root/apps/main_clock.hpp
blob: 5440c1f3ebef9afc734f6a1cd114c4a4be6faea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __MAIN_CLOCK_H__
#define __MAIN_CLOCK_H__

#include "pico/util/datetime.h"
#include "../oled/ss_oled.h"

#include "../api.hpp"

namespace app_main_clock {
    int init(Api *app_api);
    int render(Api *app_api);
    int btnpressed(Api *app_api, uint gpio);
    int bgrefresh(Api *app_api, char in_foreground);
    int destroy(Api *app_api);
}

#endif