nopnop2002 / Raspberry-ili9325

Parallel TFT Shield Library for wiringPi
64 stars 14 forks source link

Use as main screen #37

Closed ElectroBoyCodes closed 2 years ago

nopnop2002 commented 2 years ago

Hello

What is main screen?

/dev/fb0 looks like a Frame Buffer Device.

Frame Buffer Devive and Parallel TFT have completely different resolutions.

nopnop2002 commented 2 years ago

https://github.com/nopnop2002/Raspberry-ili9325/wiki

nopnop2002 commented 2 years ago

If you select the wrong LCD driver, it will not work properly.

I have purchased more than 30 TFTs in the past, but only one correct piece of information.

The information provided by sellers on Ebay or AliExpress is largely incorrect. You waste time if you don't choose the right driver. There are many variations of the 2.4 inch shield.

http://domoticx.com/arduino-shield-2-4-tft-lcd-touch/

You can use this to find out your driver. This is for Arduino UNO.

https://github.com/prenticedavid/MCUFRIEND_kbv/tree/master/examples/LCD_ID_readreg

Here is my collection.

https://github.com/nopnop2002/esp-idf-parallel-tft/tree/main/lcd_id

nopnop2002 commented 2 years ago

ILI9486 has a different initialization code.

https://github.com/nopnop2002/esp-idf-parallel-tft/blob/main/components/tft_library/ili9486.c

nopnop2002 commented 2 years ago

You need to specify the driver as an argument to make.

nopnop2002 commented 2 years ago

make hogehoge

Please read the README.

nopnop2002 commented 2 years ago

Please read the README.

nopnop2002 commented 2 years ago

This is not my repo.

This is out topic.

nopnop2002 commented 2 years ago

Module flexfb not found in directory /lib/modules/5.15.32+

This is not a bug in this repo.

Please search on the internet.

nopnop2002 commented 2 years ago

No

It seem os problem

https://forums.raspberrypi.com/viewtopic.php?t=280676

nopnop2002 commented 2 years ago

OS problems can only be solved by the Raspberry Foundation

nopnop2002 commented 2 years ago

It may work if you use an old OS.

nopnop2002 commented 2 years ago

If so, you have no solution.

nopnop2002 commented 2 years ago

Not even others libs insted of this lib?

I do not understand the meaning.

Do you want to use framebuffer

Or do you want to use this library?

This library has nothing to do with the framebuffer.

nopnop2002 commented 2 years ago

If you want to use a framebuffer, this library doesn't help at all.

This library doesn't use the framebuffer feature at all.

And I'm not familiar with framebuffers.

nopnop2002 commented 2 years ago

The frame buffer is a function of the OS, not a library.

You need to understand what a framebuffer is.

nopnop2002 commented 2 years ago

You can find it with the following keywords

flexfb alternative

nopnop2002 commented 2 years ago

Here is the source.

https://github.com/notro/fbtft/blob/master/flexfb.c

You can find the problem. You can find the cause of the problem