Graphic LCD 128x64 STN LED: Difference between revisions
Jump to navigation
Jump to search
Created page with "==Introduction== JHD12864E is a 128X64 graphical LCD with backlight. This unit is a very clear STN type LCD with a simple command interface. Utilizes the extremely common KS01..." |
No edit summary |
||
Line 21: | Line 21: | ||
==usage== | ==usage== | ||
[[File:12864 2.jpg|500px]] | |||
[[File:12864 usage.jpg]] | [[File:12864 usage.jpg]] | ||
==Example code== | ==Example code== | ||
#include "U8glib.h" | |||
U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); //8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16 | |||
void draw(void) { | |||
u8g.setFont(u8g_font_unifont); | |||
u8g.setPrintPos(0, 20); | |||
u8g.print("Hello World!"); | |||
} | |||
void setup(void) {} | |||
void loop(void) { | |||
u8g.firstPage(); | |||
do { | |||
draw(); | |||
} while( u8g.nextPage() ); | |||
delay(500); | |||
} | |||
==How to buy== | ==How to buy== | ||
Click here to buy [http://www.geeetech.com/graphic-matrix-lcd-module-lcm-display-128x64-p-316.html Graphic LCD 128x64 STN LED] | Click here to buy [http://www.geeetech.com/graphic-matrix-lcd-module-lcm-display-128x64-p-316.html Graphic LCD 128x64 STN LED] |
Revision as of 09:28, 21 May 2012
Introduction
JHD12864E is a 128X64 graphical LCD with backlight. This unit is a very clear STN type LCD with a simple command interface. Utilizes the extremely common KS0108B parallel interface chipset. Interface code is freely available.
Description
- Display construction:128*64 DOTS
- Controller: KS0108
- Number of data line:8-bit parallel
- Display mode:STN / Yellow Green
- Display type:Positive Tranflective
- Backlight:LED(Y/G)/5.0V
- Driving method:1/64 duty, 1/9 bias
- Type:COB (Chip On Board)
Document
12864 LCD library [1.pdf 12864 datasheet]
pin definition
usage
Example code
#include "U8glib.h" U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); //8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16 void draw(void) { u8g.setFont(u8g_font_unifont); u8g.setPrintPos(0, 20); u8g.print("Hello World!"); } void setup(void) {} void loop(void) { u8g.firstPage(); do { draw(); } while( u8g.nextPage() ); delay(500); }
How to buy
Click here to buy Graphic LCD 128x64 STN LED