aboutsummaryrefslogtreecommitdiffstats
path: root/dogs.h
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-06-05 18:36:34 -0400
committerClyne Sullivan <clyne@bitgloo.com>2022-06-05 18:36:34 -0400
commit7fbb94cb15fdd20cd9ada11588568583128c77f4 (patch)
treeb774f823d35c9c77bf719d17a7dd70715effadce /dogs.h
parentfedc108c8f664b44ae1a4c0d6b6378584533c314 (diff)
move source to folder; openocd.sh programs directly
Diffstat (limited to 'dogs.h')
-rw-r--r--dogs.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/dogs.h b/dogs.h
deleted file mode 100644
index 8af24fd..0000000
--- a/dogs.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * 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_
-
-#include <stdbool.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();
-void dogs_set_sleep(bool sleep);
-
-void draw_pixel(int x, int y, bool state);
-void draw_rect(int x, int y, int w, int h);
-void draw_bitmap(int x, int y, const unsigned char *buffer);
-void draw_number(int x, int y, int number);
-
-#endif // DOGS_H_
-