Steve the friendly fellow whom runs the site www.semifluid.com was kind enough to modify his source code to work on the Unicorn. The GLCD looks awsome in reality, my photo skills for LCDs are minimal.
And Steves Original
![]()
Steve the friendly fellow whom runs the site www.semifluid.com was kind enough to modify his source code to work on the Unicorn. The GLCD looks awsome in reality, my photo skills for LCDs are minimal.
And Steves Original
![]()
Last edited by blueroomelectronics; 9th June 2007 at 03:17 AM.
Very nice. I received my boards today and have a GLCD on order. Hopefully I'll have something running by the end of the week.
Mike.
It keeps getting better. Very nice.
Please post questions to the forums. PM's are for personal communication.
BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
Finally got around to having a play with this. The Graphic LCD is actually easier to initialise than the character based ones but a bit trickier to use. The really tricky bit is finding fonts. Managed to find a nice proportional one though. I'll post some code when I get time to tidy and comment it.
Mike.
![]()
Last edited by Pommie; 6th July 2008 at 04:13 PM.
Nice work Mike. Is that a font or bitmap image? I've been wanting to do a Conways Life on one.
Here's the hex file for the scope, I'll ask permission to post the modifed C source.
Do I need to get a GLCD with a specific controller ?
Which and what source would you suggest ?
I see that futurlec has one for about $20.
Please post questions to the forums. PM's are for personal communication.
BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
The one I have is the $20 one from futurelec. It uses the KS0107/8 controller.
I connected the backlight to the 5V on con1 via a 220Ω resistor.
Mike.
Bill,
The font is just of the internet. As it's proportional, I put it all in a 7 wide array and put 0x55 in unused locations. It ended up like,
I found that the display is (in my mind) reversed and have inverted the font and fill with 0xff to clear screen.Code:const rom unsigned char Font[96][7]={ 255,255,255,85,85,85,85, 255,160,255,85,85,85,85, 248,255,248,85,85,85,85, 235,128,235,128,235,85,85, 217,182,128,182,205,85,85,
Hopefully, I'll get some more time tomorrow to get a more usable print routine.
Mike.
The code was written for a 128x64 GLCD that is KS0108 compatible and the 20pin connector on the bottom.Originally Posted by 3v0