Upgrading your PIC to a 16-bit would make this quite a bit easier.
Hope this gives you some pointers.
Please do not put words in my mouth. No it's not essential and that's not what I said. There are numerous PMP based libs and examples using PIC24, dsPIC and PIC32 available for KS0108, therefore easier to adapt one of these to their needs. There are very few libs and examples using an PIC16 or PIC18.
I am using MPLAB son mikroC will not be good. but ill have a look at it.
if you can give it to me i would be very grateful to you.
thanks
ps: where is the location where i can put this library?
#include <HDM64GS12.c>
#include <graphics.c>
and in main
glcd_init(ON);
glcd_line(10,10,40,40,ON); //This will draw a line on the screen.....
I want to interface this graphic lcd that has a KS0108 controller with PIC16f877. Can anyone help me with some basic steps to get a satisfied result pls?
All help will be greatly appreciated.
Thanks
Maria
void GDispInit(void)
{
GDispBackLite(ENABLE);
GDispReset();
GDispSwitch(DISABLE);
GDispWr(CMD,DISPLAY_START_LINE);//set display start line at the top of the LCD
GDispClr(0x00); //clear the display
GDispSwitch(ENABLE);
}
void GDispInit(void)
{
GDispBackLite(ENABLE);
GDispReset();
GDispSwitch(DISABLE);
GDispWr(CMD,DISPLAY_START_LINE);//set display start line at the top of the LCD
GDispClr(0x00); //clear the display
GDispSwitch(ENABLE);
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?