DOGS-102 Graphic LCD module Example. Based on Igor Skochinsky's "DOGLCDDemo" program.
Dependencies: DOG-S_GraphicLCD mbed
Fork of DOGLCDDemo by
Diff: LCD/AbstractLCD.h
- Revision:
- 1:b7a86d680935
- Parent:
- 0:2a5dccfd318f
--- a/LCD/AbstractLCD.h Thu Jan 14 00:49:39 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -#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