glcd ccs
Hi,
This driver will work on every Pic.
The only you have to change for other Pic model is the header you include in you main file, i use it for the 18F4680 , if you use the CCS C Compiler then juste make a new project with the project wizard and select your CPU.
Then copy/paste my code to your new project.
Now for use other pins from your cpu to control the screen just change the:
#define glcd_wr PIN_C0
#define glcd_rd PIN_C1
#define glcd_cs PIN_C2
#define glcd_cd PIN_C6
in what you want for your PIC , this some lines are in the drivers file ''SSD1289.c''
For the data port i use the 'D' port , if you have to use another port like the PortB then just replace all :
Output_D(.....); in Output_B(...);
Just as info , last time i was on TechToys page this screen was in grey , probably discontinued for better ones or bigger
If you want to use that screen better than with a 8 bits controller , then look that your controller can adresse a full 16Bits port for send the data to the 16 bits data port from the screen , it can then be 2x faster.
But be carrefull how fast you send the data !! , or you will get glitch or your screen will not work.
Atm , i use the 18F4680 at 40Mhz (10 Mips) and it work like a charm.
Cya