Introduction
The S1D15705 controller from Seiko-Epson is a single chip dot matrix LCD controller that can display 65x168 dots. LCD with this controller are made in Chip-On-Glass technology. On this page I show you library for LCD with S1D15705 controller and AVR microcontroller.
Library structure
Library contains following files :
S1D15705.c - main library file (use always)
S1D15705.h - header file for S1D15705.c (use always)
font5x8.h - fonts definitions (use always)
graphic.c - file with graphic routines (drawing lines, circles, rectangles, etc) (use only if you want)
graphic.h - header file for graphic.h file (use only if you want)
Example screen 162x64 pixels with text:
Example code for create this screen :
GLCD_Initialize();
GLCD_Clear();
GLCD_GoTo(0,0);
GLCD_WriteStringXY(0,0,"0000 10101010 10101010 AAAA");
GLCD_WriteStringXY(0,1,"0001 11000110 10011111 DEAD");
GLCD_WriteStringXY(0,2,"0002 10101010 10101010 BEEF");
GLCD_WriteStringXY(0,3,"0003 10101010 10101010 CAFE");
GLCD_WriteStringXY(0,4,"0004 10101010 10101010 ");
GLCD_WriteStringXY(0,5,"0005 10101010 10101010 ");
GLCD_WriteStringXY(0,6,"0006 10101010 10101010 ");
GLCD_WriteStringXY(0,7,"0007 10101010 10101010 "); |
Example screen with graphic primitives :
Code used for create this screen :
GLCD_Clear();
GLCD_Rectangle(0,0,162,64);
GLCD_Circle(32,32,16);
GLCD_Circle(128,32,16); |
Download
S1D15705.zip
|