AD-128160-UART制御用のライブラリ http://www.aitendo.co.jp/product/3119 gingaxさんのプログラムを参考に作らせてもらっています。 http://mbed.org/users/akira/libraries/AD128160/m159hi
Dependents: AD128160_HelloWorld
Diff: AD128160.h
- Revision:
- 2:6f2db745808e
- Parent:
- 1:328d8c8f804e
- Child:
- 3:d15cda2a5e91
--- a/AD128160.h Mon Dec 12 02:12:24 2011 +0000 +++ b/AD128160.h Mon Dec 12 02:38:49 2011 +0000 @@ -5,7 +5,8 @@ #define LCD_ROWS 10 #define LCD_COLS 16 - +#define LCD_WIDTH 128 +#define LCD_HEIGHT 160 /** An interface for the AD128160 LCD display * */ @@ -111,6 +112,29 @@ */ int printf(const char* format, ...); #endif + /** get of the LCD width + * + * @return LCD width + */ + int width(); + + /** get of the LCD height + * + * @return LCD height + */ + int height(); + + /** get of the LCD width + * + * @return LCD colums + */ + int columns(); + + /** get of the LCD width + * + * @return LCD rows + */ + int rows(); void bmp(int x0,int y0,int bmp_n);