CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: Graphic LCD driver ST7920
javierviana

Replies: 6
Views: 30157

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2008 12:46 pm   Subject: main example
Yes. This is the CCS’s example, a little modified to work with this driver.

#include "mg1903a.h"
#include "graphics.h"

#include <math.h>


#pragma zero_ram
void ...
  Topic: Graphic LCD driver ST7920
javierviana

Replies: 6
Views: 30157

PostForum: General CCS C Discussion   Posted: Fri Dec 07, 2007 4:52 am   Subject: Graphic LCD driver ST7920
Sorry, the function glcd_pixel is:

void glcd_pixel(int8 x, int8 y, int1 color)
{
int8 v, h, b;

v = y;
h = x/16;
b = 15 - (x%16);

// Modify the actual word. ...
  Topic: Graphic LCD driver ST7920
javierviana

Replies: 6
Views: 30157

PostForum: General CCS C Discussion   Posted: Fri Dec 07, 2007 4:45 am   Subject: Graphic LCD driver ST7920
Here it is my driver. It work fine with the example graphics.c an some predefines:


#byte PORTA = 0xF80
#bit RA0 = PORTA.0
#bit RA1 = PORTA.1
#bit RA2 = PORTA.2
#bit RA3 = PORTA.3
#bit RA4 = ...
  Topic: Graphic LCD driver ST7920
javierviana

Replies: 6
Views: 30157

PostForum: General CCS C Discussion   Posted: Tue Nov 27, 2007 8:37 am   Subject: Graphic LCD driver ST7920
Any body could say me where I can find any driver for a Graphic LCD with the controller ST7920 from Sitronix, and a classic hardware interface of 16 pins (RS, RW, E, D0-D7). The microcontroller that I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group