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

CCS lcd drivers

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



Joined: 09 Mar 2004
Posts: 52
Location: Greater Manchester - UK

View user's profile Send private message

CCS lcd drivers
PostPosted: Sun Jun 06, 2004 12:47 pm     Reply with quote

PCM 3.185
PIC16F874

Dear All,

Does anyone know if there is a conflict if I do the following:

USE timer 0 via interrupts AND
USE standard CCS lcd drivers.

I have tried to use them together and I think there is conflict somewhere

Does anyopne know what resources the CCS LCD drivers take up??
i.e any interrupts/timers

YOUR FEEDBACK IS ALWAYS APPRECIATED
_________________
Best Regards
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 06, 2004 2:42 pm     Reply with quote

Quote:
Does anyone know what resources the CCS LCD drivers take up??
i.e any interrupts/timers

To answer this type of question, just look at the driver file, LCD.C.
This file will be in this folder: c:\Program Files\Picc\Drivers

If you see any functions with #int_xxx in front of them, then
that's an interrupt routine. Once you look at LCD.C, you will
see the answer.
Konrad



Joined: 15 Sep 2003
Posts: 34

View user's profile Send private message

Not all LCDs static
PostPosted: Mon Jun 07, 2004 2:41 pm     Reply with quote

Not all LCDs are static, that is the graphic LCDs have maximum clocking periods as well as minimum periods, so a timer interrupt could extend signals out of tollerance.

Try disabling the timer interupt before LCD functions, and re-enabling them afterwards.
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