Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
AbstractLCD.h
00001 #ifndef MBED_ABSTRACTLCD_H 00002 #define MBED_ABSTRACTLCD_H 00003 00004 #include "mbed.h" 00005 00006 /* Class: AbstractLCD 00007 * 00008 */ 00009 00010 class AbstractLCD 00011 { 00012 public: 00013 virtual ~AbstractLCD() {}; 00014 // return LDC width 00015 virtual int width() = 0; 00016 // return LDC height 00017 virtual int height() = 0; 00018 // put a pixel on the screen 00019 virtual void pixel(int x, int y, int colour) = 0; 00020 // fill a rectangular area 00021 virtual void fill(int x, int y, int width, int height, int colour) = 0; 00022 // begin an update sequence: 00023 // remember drawing operations but do not update the display 00024 virtual void beginupdate() = 0; 00025 // end an update sequence 00026 // update display to reflect all queued operations 00027 virtual void endupdate() = 0; 00028 }; 00029 00030 #endif
Generated on Fri Jul 15 2022 20:49:26 by
1.7.2