From 7b006d6f2032ac46074d693ae59a971bee327ace Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Fri, 9 Sep 2022 18:33:15 -0500 Subject: init --- src/ssd1306_display_driver.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/ssd1306_display_driver.h (limited to 'src/ssd1306_display_driver.h') diff --git a/src/ssd1306_display_driver.h b/src/ssd1306_display_driver.h new file mode 100644 index 0000000..f6e333d --- /dev/null +++ b/src/ssd1306_display_driver.h @@ -0,0 +1,17 @@ +#ifndef __SSD1306_H +#define __SSD1306_H + +#include + +#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 -- cgit v1.2.3