From a774e33ceff6c3eef02aad4f58a11c7e23ff62bb Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 7 Mar 2018 15:25:55 -0500 Subject: basic graphing --- include/display_draw.h | 1 + include/flash.h | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 include/flash.h (limited to 'include') diff --git a/include/display_draw.h b/include/display_draw.h index 5ed4224..823c697 100644 --- a/include/display_draw.h +++ b/include/display_draw.h @@ -5,6 +5,7 @@ void dsp_cursoron(void); +void dsp_pixel(int x, int y, uint16_t color); void dsp_line(int x, int y, int i, int j, uint16_t color); void dsp_rect(int x, int y, int w, int h, uint16_t color); diff --git a/include/flash.h b/include/flash.h new file mode 100644 index 0000000..26fffd3 --- /dev/null +++ b/include/flash.h @@ -0,0 +1,11 @@ +#ifndef FLASH_H_ +#define FLASH_H_ + +#include + +void flash_init(void); + +void flash_read(char *buf, uint32_t addr, unsigned int count); +void flash_write(const char *buf, uint32_t addr, unsigned int count); + +#endif // FLASH_H_ -- cgit v1.2.3