Since you said "Its soo complex and poorly documented" I'm going to guess
that your using the glcd package which is nice and fully featured but its
hard to start using without experience or sitting down and following the
code. (If your code has #include <gdisp.h> its likely that you are using
glcd)
If you want the basics of using the Hantronix displays, like the
HDM12864F-1, which has a S6B0724 controller at its heart then search
google for "S6B0724 sample code". This one is the most helpful,
www.8052.com/users/mkaras/GraphLCD.phtml, and in looking at it and the
glcd package as sold by ramtex it looks like it was the starting point for
glcd.
If you have your code working and you just want to display strings (like
printf to your lcd) try:
ginit(); // Initialize the display hardware interface hardware
ghw_dispon(); // Command the display to turn on
gselfont(&mono5_8); // Select a soft font, look in your include directory
// to see what fonts your system has used
gsetcpos(0,0); // 0th line over from the left, 1st line down (no zero)
gputs("Line1");
gsetcpos(0,1); // 0th line over from the left, 1st line down (no zero)
gputs("Line2");
I hope this helps and if you have more questions just post them.
Richard Newman
Pittsburgh PA USAMessage
Re: [lpc2000] Using Hantronix Chip on glass technology LCD Modules
2006-05-24 by newmanrf@originarea.com
Attachments
- No local attachments were found for this message.