aboutsummaryrefslogtreecommitdiffstats
path: root/apps/main_clock.hpp
blob: c20af0f6dd55526bb8d2384f8a2ac4c25bf22a6e (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, char *data, uint data_size);
    int render(SSOLED *oled, char *data, uint data_size);
    int btnpressed(SSOLED *oled, char *data, uint data_size, uint gpio);
    int bgrefresh(SSOLED *oled, char *data, uint data_size, char in_foreground);
    int destroy(SSOLED *oled, char *data, uint data_size);
}

#endif