summaryrefslogtreecommitdiff
path: root/src/ssd1306_display_driver.h
blob: f6e333d381b4dba4c8d0902e8534b0a48b8c83dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __SSD1306_H
#define __SSD1306_H

#include <stdint.h>

#define SCREEN_RES_X        128
#define SCREEN_RES_Y        32

uint8_t screen_buffer[(SCREEN_RES_X * SCREEN_RES_Y) / 8];

void screen_init();
void screen_testdraw();
void screen_off();
void screen_on();
void screen_update();

#endif