Skallwar / GSL1680

Arduino driver for GSL1680 - For anthology, this is my first real piece of code
Apache License 2.0
12 stars 4 forks source link

Two different version: GSL1680E and GSL1680F #3

Open Skallwar opened 5 years ago

Skallwar commented 5 years ago

We might have a problem because there is two different version of the chip see: https://www.buydisplay.com/default/5-inch-capacitive-touch-panel-screen-with-controller-gsl1680f https://www.buydisplay.com/default/5-inch-capacitive-touch-panel-screen-with-controller-gsl1680f-1

rtek1000 commented 8 months ago

What's the problem here? Is it relative to the resolution? One is 800x480, another is 480x272?

Isn't it just using a conversion factor?

800/480: 1.667 480/272: 1.765

P.S.: I noticed that the example codes in the mentioned links have a definition of SCREEN_MAX_X and SCREEN_MAX_Y, but apparently they are not used anywhere.

I believe the resolution is configured directly in the firmware.

So I sent an email now to 'Silead Inc.', they still have an active website, "www.sileadinc.com", it's in chinese, but with Google Translate I was able to find the contact page.

Skallwar commented 8 months ago

Not sure there is a problem to start with. It's just the I couldn't test both variant to make sure the driver work for both of them