View previous topic :: View next topic |
Author |
Message |
asjad
Joined: 09 Mar 2004 Posts: 52 Location: Greater Manchester - UK
|
CCS lcd drivers |
Posted: Sun Jun 06, 2004 12:47 pm |
|
|
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
|
|
Posted: Sun Jun 06, 2004 2:42 pm |
|
|
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
|
Not all LCDs static |
Posted: Mon Jun 07, 2004 2:41 pm |
|
|
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. |
|
|
|