Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use as main screen #37

Closed
ElectroBoyCodes opened this issue Mar 31, 2022 · 18 comments
Closed

Use as main screen #37

ElectroBoyCodes opened this issue Mar 31, 2022 · 18 comments

Comments

@ElectroBoyCodes
Copy link
Contributor

ElectroBoyCodes commented Mar 31, 2022

No description provided.

@nopnop2002
Copy link
Owner

nopnop2002 commented Mar 31, 2022

Hello

What is main screen?

/dev/fb0 looks like a Frame Buffer Device.

Frame Buffer Devive and Parallel TFT have completely different resolutions.

@nopnop2002
Copy link
Owner

@nopnop2002
Copy link
Owner

nopnop2002 commented Apr 2, 2022

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
Copy link
Owner

@nopnop2002
Copy link
Owner

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

@nopnop2002
Copy link
Owner

nopnop2002 commented Apr 2, 2022

make hogehoge

Please read the README.

@nopnop2002
Copy link
Owner

Please read the README.

@nopnop2002
Copy link
Owner

This is not my repo.

This is out topic.

@nopnop2002
Copy link
Owner

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
Copy link
Owner

No

It seem os problem

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

@nopnop2002
Copy link
Owner

OS problems can only be solved by the Raspberry Foundation

@nopnop2002
Copy link
Owner

It may work if you use an old OS.

@nopnop2002
Copy link
Owner

If so, you have no solution.

@nopnop2002
Copy link
Owner

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
Copy link
Owner

nopnop2002 commented Apr 2, 2022

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
Copy link
Owner

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

You need to understand what a framebuffer is.

@nopnop2002
Copy link
Owner

You can find it with the following keywords

flexfb alternative

@nopnop2002
Copy link
Owner

nopnop2002 commented Apr 2, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants