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

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

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

#endif