diff options
author | Brett Weiland <brett_weiland@bpcspace.com> | 2022-09-09 18:33:15 -0500 |
---|---|---|
committer | Brett Weiland <brett_weiland@bpcspace.com> | 2022-09-09 18:33:15 -0500 |
commit | 7b006d6f2032ac46074d693ae59a971bee327ace (patch) | |
tree | 60963598d99001e0850e34d6271db8bd65e04fa4 /src/ssd1306_display_driver.h |
init
Diffstat (limited to 'src/ssd1306_display_driver.h')
-rw-r--r-- | src/ssd1306_display_driver.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <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 |