We would some suggestions on how to connect Hantronix HDM64GS12 into 
J6 or J7 of Foxboard!
 
Details about GLCD (pinout) are described below!
 
Please, any tip/trick will help us a lot!
 
Thanks in advance!
 
Kind regards,
 
Cesar C Margarida

 
 
/////////////////////////////////////////////////////////////////////
//// 
////                           
HDM64GS12.c                           //// 
////                                                                 
//// 
//// This file contains drivers for using a Hantronix HDM64GS12 
with //// 
//// a KS0108 display controller. The HDM64GS12 is 128 by 64 
pixels. //// 
//// The driver treats the upper left pixel as 
(0,0).                //// 
////                                                                 
//// 
//// Use #define FAST_GLCD if the target chip has at least 1k of 
RAM //// 
//// to decrease the time it takes to update the 
display.            //// 
//// glcd_update() must then be called to update the display 
after   //// 
//// changing the pixel 
information.                                 //// 
//// See ex_glcd.c for suggested 
usage.                              //// 
//// See KS0108.c for controlling a single 64 by 64 
display          //// 
/////////////////////////////////////////////////////////////////////
//// 
////                                                                 
//// 
//// LCD Pin 
connections:                                            //// 
//// (These can be changed as needed in the following 
defines).      //// 
////  * 1: VSS is connected to 
GND                                   //// 
////  * 2: VDD is connected to 
+5V                                   //// 
////  * 3: V0  - LCD operating voltage (Constrast 
adjustment)        //// 
////  * 4: D/I - Data or Instruction is connected to 
B2              //// 
////  * 5: R/W - Read or Write is connected to 
B4                    //// 
////  * 6: Enable is connected to 
B5                                 //// 
////  *7-14: Data Bus 0 to 7 is connected to port 
d                  //// 
////  *15: Chip Select 1 is connected to 
B0                          //// 
////  *16: Chip Select 2 is connected to 
B1                          //// 
////  *17: Reset is connected to 
C0                                  //// 
////  *18: Negative voltage is also connected to the 20k Ohm 
POT     //// 
////  *19: Positive voltage for LED backlight is connected to 
+5V    //// 
////  *20: Negavtive voltage for LED backlight is connected to 
GND   //// 
////                                                                 
//// 
/////////////////////////////////////////////////////////////////////
//// 
 

Reply via email to