aboutsummaryrefslogtreecommitdiffstats
path: root/dogs.h
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-11-27 10:30:59 -0500
committerClyne Sullivan <clyne@bitgloo.com>2020-11-27 10:30:59 -0500
commit1ee366f3b37d03df72afd78b9816d0c99796d973 (patch)
tree78a1fe2fdd59f835cafb9b6c1b349f32cc788df8 /dogs.h
parent53ba921a7f2ec0d7f676b6977c6f12b690b50f5c (diff)
initial upload
Diffstat (limited to 'dogs.h')
-rw-r--r--dogs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/dogs.h b/dogs.h
new file mode 100644
index 0000000..2660bf1
--- /dev/null
+++ b/dogs.h
@@ -0,0 +1,25 @@
+/**
+ * dogs.h - Interface for drawing to the EADOGS102N-6 display.
+ * Copyright (C) 2020 Clyne Sullivan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * See the GNU General Public License for more details.
+ */
+
+#ifndef DOGS_H_
+#define DOGS_H_
+
+#define DISP_WIDTH 102
+#define DISP_HEIGHT 64
+
+extern unsigned char dogs_buffer[DISP_WIDTH * DISP_HEIGHT / 8];
+
+void dogs_init();
+void dogs_clear();
+void dogs_flush();
+
+#endif // DOGS_H_
+