• We recently switched our forum platform. If you experience any issues please email support@crystalfontz.com

Python LCD Project

Status
Not open for further replies.

starlon

New member
I'm working on some sort of LCD display. I used an LCD module for gpsim, porting it to python. The file lcd.xpm contains a character set for LCDs, but I don't think it's the same set these LCDs use. Or it's not complete actually. Anyone know a better route?

I attached some images. One shows CFA635's boot screen, but notice some of the characters are missing. The '1/4' in '5 1/4 " bay' is missing. And of course the CF emblem's missing.

Here's the link to the LCD module's site where some more images are shown, including one of a 16x16 LCD showing all the characters. http://www.dattalo.com/gnupic/lcd.html

Edit: Nevermind I know what I need to do.
 

Attachments

Last edited:

CF Tech

Administrator
The logo is done with the 8 "custom characters". You could add some characters to the font to put those in.

Code:
const unsigned byte
  //CF logo from the CFA-635
  flash_CGRAM[64]={0x00,0x00,0x00,0x01,0x00,0x0F,0x0F,0x0F,
                   0x0F,0x0F,0x0F,0x0F,0x00,0x01,0x00,0x00,
                   0x00,0x1C,0x36,0x20,0x01,0x3D,0x3D,0x3D,
                   0x3D,0x3D,0x3D,0x3D,0x01,0x20,0x36,0x1C,
                   0x00,0x0E,0x1B,0x31,0x30,0x37,0x30,0x37,
                   0x30,0x37,0x30,0x37,0x30,0x31,0x1B,0x0E,
                   0x00,0x00,0x00,0x20,0x00,0x3C,0x00,0x3C,
                   0x00,0x3C,0x00,0x3C,0x00,0x20,0x00,0x00};
The remaining characters come from the CGROM in the CFA-635, which is shown on page 42 of the data sheet:

http://www.crystalfontz.com/product/CFA635-TFE-KU1.html#docs
 
Status
Not open for further replies.
Top