Fork of Silabs MemoryLCD library

Dependents:   demoUI whrmDemoUI Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more

C++ library for Sharp Microelectronics 1.28 inch LCD TFT, LS013B7DH03, SPI bus. Forked from Silicon Labs MemoryLCD display driver.

Committer:
Steven Cooreman
Date:
Wed Mar 18 10:57:16 2015 -0500
Revision:
0:a0faa86660d4
Child:
6:fe04073fe90c
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Steven Cooreman 0:a0faa86660d4 1 #ifndef LCDSETTINGS_H
Steven Cooreman 0:a0faa86660d4 2 #define LCDSETTINGS_H
Steven Cooreman 0:a0faa86660d4 3
Steven Cooreman 0:a0faa86660d4 4 /** MemoryLCD width in pixels */
Steven Cooreman 0:a0faa86660d4 5 #define DISPLAY_WIDTH (128)
Steven Cooreman 0:a0faa86660d4 6
Steven Cooreman 0:a0faa86660d4 7 /** MemoryLCD height in pixels */
Steven Cooreman 0:a0faa86660d4 8 #define DISPLAY_HEIGHT (128)
Steven Cooreman 0:a0faa86660d4 9
Steven Cooreman 0:a0faa86660d4 10 /** Data type for storing buffer the pixel buffer */
Steven Cooreman 0:a0faa86660d4 11 #define DISPLAY_BUFFER_TYPE uint32_t
Steven Cooreman 0:a0faa86660d4 12
Steven Cooreman 0:a0faa86660d4 13 #define DISPLAY_BUFFER_TYPE_SIZE (sizeof(DISPLAY_BUFFER_TYPE) * 8)
Steven Cooreman 0:a0faa86660d4 14 #define DISPLAY_BUFFER_ELEMENTS ((DISPLAY_WIDTH*DISPLAY_HEIGHT)/DISPLAY_BUFFER_TYPE_SIZE)
Steven Cooreman 0:a0faa86660d4 15
Steven Cooreman 0:a0faa86660d4 16 /** Maximum length of a printf to the display */
Steven Cooreman 0:a0faa86660d4 17 #define MAX_PRINTF_CHARS 40
Steven Cooreman 0:a0faa86660d4 18
Steven Cooreman 0:a0faa86660d4 19 /** Color definitions */
Steven Cooreman 0:a0faa86660d4 20 #define White 0xFFFFFFFF
Steven Cooreman 0:a0faa86660d4 21 #define Black 0x00000000
Steven Cooreman 0:a0faa86660d4 22
Steven Cooreman 0:a0faa86660d4 23 #endif