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.
SPLC501C.h@0:2052f61477b1, 2011-07-06 (annotated)
- Committer:
- fblanc
- Date:
- Wed Jul 06 12:06:40 2011 +0000
- Revision:
- 0:2052f61477b1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fblanc | 0:2052f61477b1 | 1 | |
fblanc | 0:2052f61477b1 | 2 | #define SCREEN_WIDTH 128 |
fblanc | 0:2052f61477b1 | 3 | #define SCREEN_HEIGHT 64 |
fblanc | 0:2052f61477b1 | 4 | #define PIXELS_PER_PAGE 8 |
fblanc | 0:2052f61477b1 | 5 | |
fblanc | 0:2052f61477b1 | 6 | |
fblanc | 0:2052f61477b1 | 7 | |
fblanc | 0:2052f61477b1 | 8 | #define SPLC501C_DISPLAY_ON 0xAF |
fblanc | 0:2052f61477b1 | 9 | #define SPLC501C_DISPLAY_OFF 0xAE |
fblanc | 0:2052f61477b1 | 10 | |
fblanc | 0:2052f61477b1 | 11 | #define SPLC501C_START_LINE 0x40 |
fblanc | 0:2052f61477b1 | 12 | |
fblanc | 0:2052f61477b1 | 13 | #define SPLC501C_PAGE_ADDRESS 0xB0 |
fblanc | 0:2052f61477b1 | 14 | |
fblanc | 0:2052f61477b1 | 15 | #define SPLC501C_COLUMN_ADDRESS_HI 0x10 |
fblanc | 0:2052f61477b1 | 16 | #define SPLC501C_COLUMN_ADDRESS_LO 0x00 |
fblanc | 0:2052f61477b1 | 17 | |
fblanc | 0:2052f61477b1 | 18 | #define SPLC501C_ADC_NORMAL 0xA0 |
fblanc | 0:2052f61477b1 | 19 | #define SPLC501C_ADC_REVERSE 0xA1 |
fblanc | 0:2052f61477b1 | 20 | |
fblanc | 0:2052f61477b1 | 21 | #define SPLC501C_DISPLAY_NORMAL 0xA6 |
fblanc | 0:2052f61477b1 | 22 | #define SPLC501C_DISPLAY_REVERSE 0xA7 |
fblanc | 0:2052f61477b1 | 23 | |
fblanc | 0:2052f61477b1 | 24 | #define SPLC501C_DISPLAY_ALL_ON 0xA5 |
fblanc | 0:2052f61477b1 | 25 | #define SPLC501C_DISPLAY_ALL_OFF 0xA4 |
fblanc | 0:2052f61477b1 | 26 | |
fblanc | 0:2052f61477b1 | 27 | #define SPLC501C_BIAS_19 0xA2 |
fblanc | 0:2052f61477b1 | 28 | #define SPLC501C_BIAS_15 0xA3 |
fblanc | 0:2052f61477b1 | 29 | |
fblanc | 0:2052f61477b1 | 30 | #define SPLC501C_RMW_START 0xE0 |
fblanc | 0:2052f61477b1 | 31 | #define SPLC501C_RMW_END 0xEE |
fblanc | 0:2052f61477b1 | 32 | |
fblanc | 0:2052f61477b1 | 33 | #define SPLC501C_RESET 0xE2 |
fblanc | 0:2052f61477b1 | 34 | |
fblanc | 0:2052f61477b1 | 35 | #define SPLC501C_COM0 0xC0 |
fblanc | 0:2052f61477b1 | 36 | #define SPLC501C_COM63 0xC8 |
fblanc | 0:2052f61477b1 | 37 | |
fblanc | 0:2052f61477b1 | 38 | #define SPLC501C_POWERON 0x2F |
fblanc | 0:2052f61477b1 | 39 | |
fblanc | 0:2052f61477b1 | 40 | #define SPLC501C_VOLTAGE_RATIO 0x20 |
fblanc | 0:2052f61477b1 | 41 | |
fblanc | 0:2052f61477b1 | 42 | #define SPLC501C_VOLUME_MODE 0x81 |
fblanc | 0:2052f61477b1 | 43 | #define SPLC501C_VOLUME_SET 0x00 |
fblanc | 0:2052f61477b1 | 44 | |
fblanc | 0:2052f61477b1 | 45 | #define SPLC501C_PAGE_BLINKING_MODE 0xD5 |
fblanc | 0:2052f61477b1 | 46 | #define SPLC501C_PAGE_BLINKING_0 0x01 |
fblanc | 0:2052f61477b1 | 47 | #define SPLC501C_PAGE_BLINKING_1 0x02 |
fblanc | 0:2052f61477b1 | 48 | #define SPLC501C_PAGE_BLINKING_2 0x04 |
fblanc | 0:2052f61477b1 | 49 | #define SPLC501C_PAGE_BLINKING_3 0x08 |
fblanc | 0:2052f61477b1 | 50 | #define SPLC501C_PAGE_BLINKING_4 0x10 |
fblanc | 0:2052f61477b1 | 51 | #define SPLC501C_PAGE_BLINKING_5 0x20 |
fblanc | 0:2052f61477b1 | 52 | #define SPLC501C_PAGE_BLINKING_6 0x40 |
fblanc | 0:2052f61477b1 | 53 | #define SPLC501C_PAGE_BLINKING_7 0x80 |
fblanc | 0:2052f61477b1 | 54 | |
fblanc | 0:2052f61477b1 | 55 | void GLCD_GoTo(unsigned char, unsigned char); |
fblanc | 0:2052f61477b1 | 56 | void GLCD_WriteString5x7(char *); |
fblanc | 0:2052f61477b1 | 57 | void GLCD_WriteString10x16(char *); |
fblanc | 0:2052f61477b1 | 58 | void GLCD_Initialize(void); |
fblanc | 0:2052f61477b1 | 59 | void GLCD_ClearScreen(void); |
fblanc | 0:2052f61477b1 | 60 | void GLCD_Bitmap(char *, unsigned char, unsigned char, unsigned char, unsigned char); |
fblanc | 0:2052f61477b1 | 61 | void GLCD_SetPixel(int x, int y, int color); |