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.
Fork of C12832 by
Diff: C12832_lcd.h
- Revision:
- 7:0f5a3b0f3cab
- Parent:
- 6:6b96b16aad47
- Child:
- 12:4affce236743
--- a/C12832_lcd.h Wed Dec 05 21:43:17 2012 +0000 +++ b/C12832_lcd.h Fri Dec 21 20:43:59 2012 +0000 @@ -41,6 +41,15 @@ */ enum {NORMAL,XOR}; +/** Bitmap + */ +struct Bitmap{ + int xSize; + int ySize; + int Byte_in_Line; + char* data; + }; + class C12832_LCD : public GraphicsDisplay { public: @@ -235,7 +244,16 @@ * */ void set_font(unsigned char* f); + + /** print bitmap to buffer + * + * @param bm Bitmap in flash + * @param x x start + * @param y y start + * + */ + void print_bm(Bitmap bm, int x, int y); protected: