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 support@ccsinfo.com

T6963.c and pic16F877A

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
abawan



Joined: 28 Jan 2010
Posts: 3

View user's profile Send private message

T6963.c and pic16F877A
PostPosted: Mon Feb 15, 2010 3:08 am     Reply with quote

I am working on PG12864F LCD, with PIC 16F877A and compiler is CCS. I downloaded "T6963C LCD driver for Microchip 16F877" from techtoys.com.hk (which I found from this forum). My circuit is same as given by the author. I want to display ASCII characters from internal RAM only. The code I wrote is
Code:

#include <16F877a.h>
#Fuses HS,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT
#use delay(clock=20000000)

#include "t6963.h"
#include "t6963.c"

void main (void)
{
GDispInit( );
FontSize= 8;
GDispSetMode(XOR_MODE | INT_CG_MODE);
GDispSetMode(TEXT_GRH_ON);
GDispClrTxt( );
GDispClrGrh( );
GDispGoto(0,0);
GDispChar(0x85);  // any ASCII char
while(1)
{}
}

Crying or Very sad
When I use this in original circuit, the LCD shows rubbish and behaviour is unusual. While same code is working in Proteus simulation. Kindly help me regarding configuration of PG12864F LCD.

Thanks
abawan
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE:
PostPosted: Tue Feb 16, 2010 2:52 am     Reply with quote

I use a similar Graphical LCD (240x128) with the T6963 driver and it works perfectly, but I used this driver code..http://www.ccsinfo.com/forum/viewtopic.php?t=19957&highlight=t6963

Also check the PIC connections to the LCD.

thanks
arunb
abawan



Joined: 28 Jan 2010
Posts: 3

View user's profile Send private message

PG12864-f
PostPosted: Wed Feb 17, 2010 1:07 am     Reply with quote

I have checked circuit. Circuit is ok. I want to confirm that POWERTIP
PG12864-F (128x64) uses T6963 controller or if it has some other.
Anybody working on this LCD please share his code.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group