aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/display.h4
-rw-r--r--include/display_draw.h9
2 files changed, 11 insertions, 2 deletions
diff --git a/include/display.h b/include/display.h
index 1fab223..fb808c6 100644
--- a/include/display.h
+++ b/include/display.h
@@ -3,8 +3,8 @@
#include <stdint.h>
-#define LCD_WIDTH 320
-#define LCD_HEIGHT 480
+#define LCD_WIDTH 480
+#define LCD_HEIGHT 320
#define COLOR_MAX 31
diff --git a/include/display_draw.h b/include/display_draw.h
new file mode 100644
index 0000000..1030d45
--- /dev/null
+++ b/include/display_draw.h
@@ -0,0 +1,9 @@
+#ifndef DISPLAY_DRAW_H_
+#define DISPLAY_DRAW_H_
+
+void dsp_rect(int x, int y, int w, int h, uint16_t color);
+
+void dsp_cpos(int x, int y);
+void dsp_puts(const char *s);
+
+#endif // DISPLAY_DRAW_H_