adrien3d / gdeh116Z91-test

0 stars 0 forks source link

Test basic functions #1

Open adrien3d opened 3 years ago

adrien3d commented 3 years ago

Hi @atc1441, I've just created this repo with a sample code that is the translation of your Arduino example, but with esp-idf functions. Could you please test it up with your screen and tell me if it's working?

atc1441 commented 3 years ago

Hey. Unfortunately i dont have idf running.

Could you upload a binary? The pinout is best like in the GxEPD2 example for esp32

adrien3d commented 3 years ago

Yep, no problem, thank you very much. The pinout I've used is the same as the one in your example: https://github.com/adrien3d/gdeh116Z91-test/blob/master/main/epaper_main.c#L36 atc-116-test.zip

atc1441 commented 3 years ago

Thanks for the bin files,

tested it but it only gets busy timeouts.

I (921) epaper: _waitBusy for Software reset I (2931) epaper: Busy Timeout I (2931) epaper: _waitBusy for First Cmds I (4941) epaper: Busy Timeout I (4941) epaper: Ok 1 I (6251) epaper: Ok 2 I (7561) epaper: _waitBusy for End I (9571) epaper: Busy Timeout I (9571) epaper: Ok 3

atc1441 commented 3 years ago

If i saw it right you are using HSPI and not as in my code VSPI, isnt the Pinout then different.

*** Just saw that you define the Pins in main.

Also the timeout is to short i think. 40 seconds for a full refresh is needed