Geoffrey Lansberry / SharpDisplay_Initializer

Dependencies:   mbed-src

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SharpDisplay.h Source File

SharpDisplay.h

00001 /* ************
00002 * 
00003 */
00004 #ifndef __SHARPDISPLAY_H
00005 #define __SHARPDISPLAY_H
00006 
00007 #define TAG_ADDRESS_HIGH 0x20  //00100000b  //first transmit (high address)
00008 #define TAG_ADDRESS_LOW  0x00 //00000000b  //second transmit (low address)
00009 #define TAG_DATA_WRITE   0x40 //11000000b  //third transmit (data)
00010 #define LCD_DATA_READ_FLAG 0x80  //this bit must be set when reading
00011 
00012 #define LCD_SLEEP_OUT  0x11
00013 #define LCD_DISPLAY_ON  0x29
00014 #define LCD_ALLPON 0x23  //All pixels on
00015 #define LCD_ALLPOFF 0x22 //All pixels off
00016 #define LCD_RDDSDR 0x0F  //Results of self test
00017 
00018 #endif