]>
git.zerfleddert.de Git - proxmark3-svn/blob - armsrc/LCD.h
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
5 //-----------------------------------------------------------------------------
7 //-----------------------------------------------------------------------------
12 #include "proxmark3.h"
16 // The resolution of the LCD
20 // 8bpp Color Mode - Some basic colors defined for ease of use
21 // remember 8bpp color = 3xRed, 3xGreen & 2xBlue bits
22 // organised as RRRGGGBB
33 // EPSON LCD command set
40 #define EEPSRRD1 0x17C
41 #define EEPSRRD2 0x17D
51 #define ESCSTART 0x1AB
59 #define ERGBSET8 0x1CE
63 #define EVOLDOWN 0x1D7
69 // PHILIPS LCD command set
71 #define PSWRESET 0x101
72 #define PBSTROFF 0x102
74 #define PRDDIDIF 0x104
76 #define PSLEEPIN 0x110
77 #define PSLEEPOUT 0x111
85 #define PDISPOFF 0x128
92 #define PVSCRDEF 0x133
100 #define PSETVOP 0x1B0
106 #define PTCVOPE 0x1BF
108 #define PSETMUL 0x1C2
109 #define PTCVOPAB 0x1C3
110 #define PTCVOPCD 0x1C4
114 #define PRDTEMP 0x1C8
122 void LCDSend(unsigned int data
);
125 void LCDSetXY(unsigned char x
, unsigned char y
);
126 void LCDSetPixel(unsigned char x
, unsigned char y
, unsigned char color
);
127 void LCDString (char *lcd_string
, const char *font_style
,unsigned char x
, unsigned char y
, unsigned char fcolor
, unsigned char bcolor
);
128 void LCDFill (unsigned char xs
,unsigned char ys
,unsigned char width
,unsigned char height
, unsigned char color
);