Xinyuan-LilyGO / T-Track

10 stars 3 forks source link

Hardware rotate display preferable #1

Open nikthefix opened 1 year ago

nikthefix commented 1 year ago

Running the display in native portrait mode is much faster than using the soft rotate function for landscape. The hardware rotate for landscape is much better and just as fast as portrait but for some reason the endianess switches for colour byte order:

Native portrait - MSB first Hardware landscape - MSB first SoftRotate landscape - LSB first

Also, for hardware landscape the display buffer is shown twice but squashed. Could lilygo add the DXQ1D1001 / JD9613 datasheet? Should the driver files in the repo be renamed from GC9107 to JD9613?

A patched TFT_eSPI demo - like you did for the T-Display-S3 would be welcome for those not using LVGL. I think these new lilygo amoled boards are wonderful! Thank you for making them. Nik

lewisxhe commented 1 year ago

Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment.

nikthefix commented 1 year ago

Hi Lewis, I now have a working version of TFT_eSPI for T-Display-Amoled and T-Track. I will post to github when I've cleaned it up a bit.

Thanks

nik

On Sat, May 27, 2023 at 9:16 AM Lewis He @.***> wrote:

Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment.

— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1565265740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.***>

nikthefix commented 1 year ago

BTW Lewis, I'm happy to contribute to lilygo demos etc but I'm not sure of the best way to submit my code and ideas. Should I use github or send files directly to you? I'm a big fan of lilygo products as you can tell as I'm always leaving messages on github. I have a lot of embedded experience as I worked for Roland Corp Japan for 25 years, but mainly working in China - Shanghai and Chengdu for the Roland / Boss joint ventures. I'm based in London and concentrate on open source hardware dev.

Please let me know if I can be of help.

Nik

On Sat, May 27, 2023 at 1:45 PM NikTheFix @.***> wrote:

Hi Lewis, I now have a working version of TFT_eSPI for T-Display-Amoled and T-Track. I will post to github when I've cleaned it up a bit.

Thanks

nik

On Sat, May 27, 2023 at 9:16 AM Lewis He @.***> wrote:

Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment.

— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1565265740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.***>

nikthefix commented 1 year ago

Additional:

I've been in touch with a Youtube contributor (Volos Projects: @.***). He has helped to make the T-Display-S3 and other lilygo products so popular through his enthusiasm and spectacular demos / videos. No doubt you are aware of his work. We both thought that the lack of example code support for TFT_eSPI or Adafruit GFX in the case of the new amoled boards (now including amoled Touch-Bar) could alienate Arduino and PIO users who don't use LVGL, and that as a matter urgency, some simple effective demo code should be provided for these other frameworks. Community support will no doubt offer a variety of solutions but it doesn't always find itself to the 'hub' and takes time to filter through. So I refer you to my previous email.

Nik

On Sat, May 27, 2023 at 2:22 PM NikTheFix @.***> wrote:

BTW Lewis, I'm happy to contribute to lilygo demos etc but I'm not sure of the best way to submit my code and ideas. Should I use github or send files directly to you? I'm a big fan of lilygo products as you can tell as I'm always leaving messages on github. I have a lot of embedded experience as I worked for Roland Corp Japan for 25 years, but mainly working in China - Shanghai and Chengdu for the Roland / Boss joint ventures. I'm based in London and concentrate on open source hardware dev.

Please let me know if I can be of help.

Nik

On Sat, May 27, 2023 at 1:45 PM NikTheFix @.***> wrote:

Hi Lewis, I now have a working version of TFT_eSPI for T-Display-Amoled and T-Track. I will post to github when I've cleaned it up a bit.

Thanks

nik

On Sat, May 27, 2023 at 9:16 AM Lewis He @.***> wrote:

Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment.

— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1565265740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.***>

lewisxhe commented 1 year ago

嗨,刘易斯,我现在有一个用于 T-Display-Amoled 和 TFT_eSPI 的工作版本,并且 丁字轨道。当我清理了一点后,我会发布到 github。 谢谢 尼克 ... On Sat, May 27, 2023 at 9:16 AM Lewis He @.> wrote: Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment. — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.>

Hi Lewis, I now have a working version of TFT_eSPI for T-Display-Amoled and T-Track. I will post to github when I've cleaned it up a bit. Thanks nik On Sat, May 27, 2023 at 9:16 AM Lewis He @.> wrote: Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment. — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.>

If you have done a patch for TFT_eSPI, please commit to TFT_eSPI, then submit a new PR to this repository.

lewisxhe commented 1 year ago

JD9613 datasheet

russhughes commented 1 year ago

Excellent, thanks for the Datasheet!

nikthefix commented 1 year ago

OK Lewis, I'll do that. Many thanks.

Nik

On Mon, May 29, 2023 at 1:44 AM Lewis He @.***> wrote:

嗨,刘易斯,我现在有一个用于 T-Display-Amoled 和 TFT_eSPI 的工作版本,并且 丁字轨道。当我清理了一点后,我会发布到 github。 谢谢 尼克 ... <#m3639413846831115370> On Sat, May 27, 2023 at 9:16 AM Lewis He @.> wrote: Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky https://github.com/mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment. — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1565265740>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.>

Hi Lewis, I now have a working version of TFT_eSPI for T-Display-Amoled and T-Track. I will post to github when I've cleaned it up a bit. Thanks nik … <#m3639413846831115370> On Sat, May 27, 2023 at 9:16 AM Lewis He @.> wrote: Thank you for your support to LilyGo. The initial version of the code was written by @mmMicky https://github.com/mmMicky https://github.com/mmMicky https://github.com/mmMicky. He has already left. The promotion of TFT_eSPI may need to be promoted by the community. I can't deal with more things at the moment. — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1565265740>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y https://github.com/notifications/unsubscribe-auth/AKUUVMONWCE33PP7EDYXJADXIGZ7RANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.>

If you have done a patch for TFT_eSPI, please commit to TFT_eSPI, then submit a new PR to this repository.

— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1566333986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMKW2ZTFLK3PZSQMT6TXIPWPJANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.***>

nikthefix commented 1 year ago

Additional:

A couple of weeks ago I contacted the manufacturer of the display used in the T-Track (they were very nice to deal with) and got hold of an earlier version of the datasheet. It seems that this display does not support a vertical scan so a hardware landscape is probably not possible, which explains why mmMickey implemented the soft rotate. So please ignore my previous message about landscape mode. For speed it's easy enough to design a gui in portrait at a 90 degree angle.

nik

On Mon, May 29, 2023 at 2:30 AM Lewis He @.***> wrote:

JD9613 datasheet https://github.com/Xinyuan-LilyGO/T-Track/tree/main/datasheet

— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Track/issues/1#issuecomment-1566360032, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUUVMN2FYVQIJK7CFLXJYDXIP3Z3ANCNFSM6AAAAAAYDFFV7Y . You are receiving this because you authored the thread.Message ID: @.***>