Out of curiosity, which BMP to HEX software are you using?
Out of curiosity, which BMP to HEX software are you using?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Sounds like the beginnings of one of those mini- LCD picture viewer things...
Hi Dave,
thank you very much for these files !
Well, last weekend I changed your first code removing the USB stuf and the picture download.
It worked very well !
I bought 1 LCD and 2 breakout boards from SparkFun. One of the boards are not working (the LCD keep the backlight lit and nothing happens). Checked the connector and discovered that 2 connector´s legs are short circuited.
So, the LCD was installed in the another board and everything worked fine.
My board is running with a 20 Mhz crystal, but I think it is a bit slow. So, I will change it to full speed and check if it gets better.
Well, I will check your new files and see what I will need to change here !
Tahnk you Again !
PS. Did some one here successful on buying some Lib from ComSys1 ? I have been trying to contact them to buy the KS0108 Graphic lib but they never answer the e-mails!
Regards
Mine is running with an 18F4620 @ 40Mhz.
Using bare bones code, just sending black and white picture data as fast as possible with the LCD directly connected (well as close as possible, about .2") to the PIC, I'm only able to get about 6 complete screen refreshes per second (switching back and forth from black to white).
Those LCDs aren't the fastest thing in the world...
And i guess they're not going to appreciate faster communication with the MSSP as well?
but 6 screen/second is a bit more than enough... unless you read really fast![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
That's why I never bothered rewriting the code to use the MSSP, just wasn't worth the code space and/or effort at the time.
The LCD spec's at 6Mhz SPI rate, but I can't seem to get it much higher than 2.5Mhz. Probably an extra Tcycle delay somewhere in the datasheet that I missed. Might need to have a small delay after each byte or group of bytes is sent or something. Don't know, don't care, works for me.
And working from that same rate of 6 screen refreshes per second...
With straight text, I can send about 2K characters per second to the screen, actually a bit more.
Plenty fast...
Last edited by skimask; - 15th April 2008 at 18:55.
Hi guys,
6 pages / Second ?
I´m starting to think that´s something wrong with my tests...
First, the init process takes around 40 seconds (?), so, the screen lights up with a random pattern (white background with random colored dots).
The speed is pretty far from what Skimask and Dave got on their tests.
Bookmarks