News:

Let's find out together what makes a PIC Tick!

Main Menu

Universal Graphic Library

Started by atomix, Mar 09, 2022, 05:05 PM

Previous topic - Next topic

Amateurtje

Quote from: atomix on Sep 18, 2023, 06:33 PMIn SPI operating mode, data is transferred very slowly. The only option is to use the 8-bit 8080 interface.

Hi Atomix,

Thanks for your answer. It is a good idea to go to that.
Is there is 3,5 inch or preferably 4 inch display that can be used with your script?

Secondly, I just ran into another problem. I introduced a gradient (LCD_Gradient(byte)) and only setting this, the complete screen goes goes crazy. Amongst others, for example the value of LCD_fontwidth is set to 0 when I introduce this in a completely different procedure.. Do you have any idea? It would be nice to use this gradient while it looks very nice.

trastikata

Not sure about the chip you are using, but wouldn't Data Enable (DE) after updating the area of interest in the graphic RAM prevent exactly that flickering?

Amateurtje

#162
Quote from: trastikata on Sep 18, 2023, 08:16 PMNot sure about the chip you are using, but wouldn't Data Enable (DE) after updating the area of interest in the graphic RAM prevent exactly that flickering?

My chip is the 18F46k22.
I do not understand what you mean with DE (data Enabled). I can not find that. Sorry.

I will try to reduce my script to a basic script to see if I can find it, or reduce it, to be able to give a better description.. For now, I think my first goal is to find another screen which I can use and make another pcb. I really have trouble finding a reasonable sized screen which has a PCB so I can mount it (like the screen with the red pcb). Besides of the speed (and this gradient) it is really nice how this all works....Big compliments..

And, like always, you get another idea after typing  here:
- Can we drive this screen? Is this a possible parallel screen we can use? This is based on the ili9486 and I think/see it is in the driver, isn't it? (just to be sure)
https://www.ebay.com/itm/295460317055?_trkparms=amclksrc%3DITM%26aid%3D1110006%26algo%3DHOMESPLICE.SIM%26ao%3D1%26asc%3D20201210111314%26meid%3Da2854edfc66642e2ae31873738da82a0%26pid%3D101195%26rk%3D4%26rkt%3D12%26sd%3D175065897602%26itm%3D295460317055%26pmt%3D1%26noa%3D0%26pg%3D4429486%26algv%3DSimplAMLv11WebTrimmedV3MskuWithLambda85KnnRecallV1V2V4ItemNrtInQueryAndCassiniVisualRankerAndBertRecallWithVMEV3CPCAuto%26brand%3DUnbranded&_trksid=p4429486.c101195.m1851&amdata=cksum%3A295460317055a2854edfc66642e2ae31873738da82a0%7Cenc%3AAQAIAAABYObhgc4Nk8%252BdtAwOww4FKLaj%252FQ5qqgDlQCuqZA43WcPFUWDERCUugbbOk7XQv0JXlBfqCg2xKF3WcPghxGMFw2oSlXvfExEaMYr7I7LmrHcP6czY1wIMt0ORyKiCWt95xldincyyBx3g%252BNDW%252B%252FhWUgTaBhK6xAm%252BJIbCOMehu%252BdwVNu6%252F6bQkbXubDhBuHsPpw9vaqkdBnUaX191bHETAVjK5G0H%252Bf%252FbfskX0C1v%252FiN3rPQgbd8R6OEhET6XIWDAIf8RdzGpATt4uhhFvD%252BsS310xJ0zSVnzlKds2ls%252FcR7UxPs8FeFYUrc4eBWnIbaE1Y4mYGe0o0V8QQq5ZzjifR1bLHsKizi5i146Df%252FHvzDz%252Fw9RUZDm4CqtpoHuFVkCrubLgRDu6nQFSwAQ2cyVcIv%252FKA0tdSi%252Buc6juzg%252BzIfnfP3wTF2XIw77DEde3r9g3mfEgVa3L9iqFFbb3jv2Z9w%253D%7Campid%3APL_CLK%7Cclp%3A4429486

trastikata

Quote from: Amateurtje on Sep 18, 2023, 08:31 PM
Quote from: trastikata on Sep 18, 2023, 08:16 PMNot sure about the chip you are using, but wouldn't Data Enable (DE) after updating the area of interest in the graphic RAM prevent exactly that flickering?

My chip is the 18F46k22.
I do not understand what you mean with DE (data Enabled). I can not find that. Sorry.

Some time ago I've written library, for ILI9341 I think it was, and I have a vague recollection that there was a Data Enable input, which allowed you first to update the GRAM and then update the LED drivers, thus displaying the new GRAM data. But I might be mixing things, I have to check again what I did at the time.

atomix

Yes, this screen should work.

Regarding the gradient, you can attach a file with an example.

atomix

New Release.

Fixed that very large font was not displayed correctly.
Fixed Font_Converter.mf
Added bigfont.bas example