A lib for accessing ST7626 based lcds. It provides a set_pixel function. It is only tested with one display.
Diff: lcd.c
- Revision:
- 3:5b7d04c36d1a
- Parent:
- 2:04fb8af3ecb0
- Child:
- 5:70dcbb284628
diff -r 04fb8af3ecb0 -r 5b7d04c36d1a lcd.c --- a/lcd.c Sat Jan 08 22:28:13 2011 +0000 +++ b/lcd.c Sat Jan 08 22:31:14 2011 +0000 @@ -161,7 +161,7 @@ } -void lcd_putpixel( int x, int y, int16_t color { +void lcd_putpixel( int x, int y, int16_t color){ Write(COMMAND, 0x30); // Ext = 0 Write(COMMAND, 0x15); // Column address set Write(DATA, x); // From column address 0 to 97