early testing of epaper and rotary encoder

Dependents:   e-ink-test_menu

Revision:
1:75b1993d74b1
Parent:
0:ac97d71fe296
--- a/epd1in54.h	Fri Feb 16 21:30:08 2018 +0000
+++ b/epd1in54.h	Mon Mar 04 21:43:23 2019 +0000
@@ -69,6 +69,9 @@
 #define ROTATE_180                                   2
 #define ROTATE_270                                   3
 
+// Color inverse. 1 or 0 = set or reset a bit if set a colored pixel
+#define IF_INVERT_COLOR     0
+
 extern const unsigned char lut_full_update[];
 extern const unsigned char lut_partial_update[];
 
@@ -104,7 +107,7 @@
     void Sleep(void);
     void SetRotate(int rotate);
     void SetPixel(unsigned char *frame_buffer, int x, int y, int colored);
-    void SetAbsolutePixel(unsigned char *frame_buffer, int x, int y, int colored); 
+    void xSetAbsolutePixel(unsigned char *frame_buffer, int x, int y, int colored); 
     void DrawLine(unsigned char *frame_buffer, int x0, int y0, int x1, int y1, int colored);
     void DrawHorizontalLine(unsigned char *frame_buffer, int x, int y, int width, int colored);
     void DrawVerticalLine(unsigned char *frame_buffer, int x, int y, int height, int colored);
@@ -114,7 +117,14 @@
     void DrawFilledCircle(unsigned char *frame_buffer, int x, int y, int radius, int colored);
     void DrawCharAt(unsigned char *frame_buffer, int x, int y, char ascii_char, sFONT* font, int colored);
     void DrawStringAt(unsigned char *frame_buffer, int x, int y, const char* text, sFONT* font, int colored);
-
+    
+    void SetHeight(int height);
+    int  GetHeight(void);
+    void SetWidth(int width);
+    int  GetWidth(void);
+    void Clear(unsigned char* frame_buffer, int colored);
+    void DrawAbsolutePixel(unsigned char* frame_buffer, int x, int y, int colored);
+    int  GetRotate(void);
 
 };