Pretty much played with everything, changing oscillators, using internal vs external. Attached is a pic of your project running on Proteus with the defines changed to make it compatible with the EP4 development board. As you can see it works fine on Proteus but just won't work on a breadboard or the EP4.
Second pic is what is displayed when the pic is first programmed, as you can see there is problems in the display. Turning off/on the board's power and then nothing will display.
I know the display is fine because I can get it to work on a breadboard or EP4 with Richard.C assembler code for the KS0108
Have tried debugging with my PK2 and still can not get anything to display, or see where the problem is. Perhaps I am missing a config setting by using the 18f4520 instead of 18f4550.
That picture looks like it is a timing problem. My guess is that you are running at a much higher clock rate than I was. Try repeating the asm line in delay.
Hey i know this thread is kinda old just wanted to say thanks for the code and i modded it slighty to fit a PIC18F448 @ 20 Mhz and here is the code if anyone needs it. (doesnt show that logo and stuff tho.)
I aslo found it does say you need to read the data twice ...
Yes, I tried the oscilloscope and it looks good.
One thing I forgot to mention earlier which may cause people problems is that the data sheet you link to (topway) doesn't mention the fact that, when reading from the display data, you need to do a dummy read before you get valid data. If you look at the plot routine you'll see what I mean. Don't you just hate it when data sheets are wrong.
Hey i know this thread is kinda old just wanted to say thanks for the code and i modded it slighty to fit a PIC18F448 @ 20 Mhz and here is the code if anyone needs it. (doesnt show that logo and stuff tho.)
I aslo found it does say you need to read the data twice ...
Im not sure if it was meant for that but i would have assumed it was.
Here is my code(your code) , my image and my finding in the datasheet.
thanks (AtomSoft)
i using of GLCD.zip file for interfacing with GLCD and when i send a data or pic and other
to GLCD that appear white and null pixel are black how i inverse the state of all pixel on GLCD
i try to change the "ClearScreen" function on GLCD.c too:
thanks bryan i test your change and it work nice.
i need problem with logo, how i change my favorite picture to code that compatible with GLCD.c (putlogo function)
and how work the "putlogo" function?
anyone have software or converter to convert this codes.
I have a VB program that I wrote to convert the original logo. It's really badly written and not suitable for general use but I am happy to use it to convert your logo. If you want it converting then just attach it to a post.
thanks of bryan and Pommie for reply
thanks Pommie, but i don't need to convert one or two logo.
i need urgent a software for convert logo.
can you give me your software.