A demo program for DOGL-128 LCD module. Based on Mike Sheldon's 3D Tie Fighter demo.

Dependencies:   mbed

Revision:
0:2a5dccfd318f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LCD/AbstractLCD.h	Thu Jan 14 00:49:39 2010 +0000
@@ -0,0 +1,30 @@
+#ifndef MBED_ABSTRACTLCD_H
+#define MBED_ABSTRACTLCD_H
+ 
+#include "mbed.h"
+
+/* Class: AbstractLCD
+ *
+ */
+
+class AbstractLCD
+{
+public:
+    virtual ~AbstractLCD() {};
+    // return LDC width
+    virtual int width() = 0;
+    // return LDC height
+    virtual int height() = 0;
+    // put a pixel on the screen
+    virtual void pixel(int x, int y, int colour) = 0;
+    // fill a rectangular area
+    virtual void fill(int x, int y, int width, int height, int colour) = 0;
+    // begin an update sequence: 
+    // remember drawing operations but do not update the display
+    virtual void beginupdate() = 0;
+    // end an update sequence
+    // update display to reflect all queued operations
+    virtual void endupdate() = 0;
+};
+
+#endif