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.
LCDSettings.h
00001 #ifndef LCDSETTINGS_H 00002 #define LCDSETTINGS_H 00003 00004 /** MemoryLCD width in pixels */ 00005 #define DISPLAY_WIDTH (128) 00006 00007 /** MemoryLCD height in pixels */ 00008 #define DISPLAY_HEIGHT (128) 00009 00010 /** Data type for storing buffer the pixel buffer */ 00011 #if ((DISPLAY_WIDTH % 32) == 0) 00012 #define DISPLAY_BUFFER_TYPE uint32_t 00013 #define DISPLAY_BUFFER_TYPE_MASK (0x1F) 00014 #else 00015 #define DISPLAY_BUFFER_TYPE uint8_t 00016 #define DISPLAY_BUFFER_TYPE_MASK (0x07) 00017 #endif 00018 00019 #define DISPLAY_BUFFER_TYPE_SIZE (sizeof(DISPLAY_BUFFER_TYPE) * 8) 00020 #define DISPLAY_BUFFER_ELEMENTS ((DISPLAY_WIDTH*DISPLAY_HEIGHT)/DISPLAY_BUFFER_TYPE_SIZE) 00021 00022 /** Maximum length of a printf to the display */ 00023 #define MAX_PRINTF_CHARS 40 00024 00025 /** Color definitions */ 00026 #define White 0xFFFFFFFF 00027 #define Black 0x00000000 00028 00029 #endif
Generated on Fri Jul 15 2022 01:41:58 by
1.7.2