Xinyuan-LilyGO / T-Display-S3

MIT License
782 stars 195 forks source link

The factory example is noct working #37

Closed wecapp closed 1 year ago

wecapp commented 1 year ago

The factory example doesn't work. Is there a correct version?

bratoff commented 1 year ago

It worked for me. Did you follow all the instructions exactly? What error message are you getting?

LilyGO commented 1 year ago

Be careful not to upgrade the TFT library we provide when using the Arduino IDE

oldbug62 commented 1 year ago

I have the same issue, the display just blinkin what can i do?

The Problem was the wrong Flash Mode. Select Flash Mode: QIO 80Mhz and it works!

wecapp commented 1 year ago

I found that a word in factory.cpp appears to be misspelled. Instead of subscribe, the skecht says subsribe. Isn't that a mistake?

LilyGO commented 1 year ago

The factory example will use all the libraries in lib, please drag and drop to the C:\Users\NAME\Documents\Arduino\libraries directory

nfcrugby commented 1 year ago

I also have a black screen. Assuming the problem is associated with this, where can I find factory.ccp? Thanks

nfcrugby commented 1 year ago

P.s. Am using Ubuntu 22.04.

Vn-ChemGio commented 1 year ago

I has the same issue in Windows 10 and Arduino IDE 2.0.2 when flash file factory.ino

Vn-ChemGio commented 1 year ago

The factory example doesn't work. Is there a correct version?

I've see the reason root cause by we didn't complete the setup

In my case, I forgot complete step : Select the settings as shown. in document Arduino_Config

Note: You can also change timezone, wifi SSID and password in pin_config.h to use your wifi

nfcrugby commented 1 year ago

Hi Windblade I had most of these selected. Can you just confirm "Core Debug Level:" in English. I also have Programmer selected as Esptool under Tools and cannot turn that selection off for some reason! Any help there would be apreciated

Can I ask you exactly which Factory Version sketch you used? Copy of the link on GitHub would be best. Thanks

Vn-ChemGio commented 1 year ago

Core Debug Level

Hi Windblade I had most of these selected. Can you just confirm "Core Debug Level:" in English. I also have Programmer selected as Esptool under Tools and cannot turn that selection off for some reason! Any help there would be apreciated

Can I ask you exactly which Factory Version sketch you used? Copy of the link on GitHub would be best. Thanks

Core Debug Level can be choise is None Make sure you choose exactly Flash Size, Flash Mode in image above

The code in master brand on this repository https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/example/factory/factory.ino

You can ping me in Telegram and give me your teamview ID for check

nfcrugby commented 1 year ago

Hi Again, Thanks for this advice Vn-ChemGio which I have implemented.

After downloading the complete repo and renaming the folder to remove the dashes (---) I unzipped and manually put everything into the Arduino Library folder. Then I loaded the factory code onto Arduino IDE. BUT -- when I tried to compile I got the error message: OneButton.h: no such file or directory.

I checked and it is there as are other header files. I then read somewhere that the header files have to be moved out of the Library folder but my attempts at this have so far not helped. It is not easy for me, a relative newbie. Can anybody give me more precise instructions or tell me where to look?

(I did not include the full error message which is about 10 pages long and beyond my understanding.) Again, for info, I am working on Ubuntu 22.04.

Many Thanks for your patience.

Vn-ChemGio commented 1 year ago

Make sure you have installed all library bellow before compiler

csylvain commented 1 year ago

i discovered that

  1. after copying all the directories in 'lib' in this repo to ~/Arduino/libraries, then
  2. move all files from TouchLib/src to TouchLib,
  3. and remove 'src' from TouchLib.

Verify/Compile will then work without generating any error messages.

linjian128 commented 1 year ago

@csylvain Hi, I still cannot succeed to compile "lv_demos", seems the "demo" folder is not included in the compile path. Did you have some other configuration after the readme?

mmMicky commented 1 year ago

You can try to use platformIO to compile. I have specified the library directory and demo compilation path on this tool. Just open the example independently and click upload.

mmMicky commented 1 year ago

Problem seems to be resolved. I will close this issue