aboutsummaryrefslogtreecommitdiffstats
path: root/api.hpp
blob: 735d55b372cc3c458a42a220da1a16c1ed9742ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __API_H__
#define __API_H__

#include "oled/ss_oled.h"

class Api {
    private:
        SSOLED m_oled;
        u_char m_init_done = 0;
        void init_display();
    public:
        void init();
        int dispWriteString(int iScrollX, int x, int y, char *szMsg, int iSize, int bInvert, int bRender);
        void dispFill(unsigned char ucData, int bRender);
};

#endif