-
Notifications
You must be signed in to change notification settings - Fork 127
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
Cant run the demo code on my T5-S3 4.7 #118
Comments
It is best to use versions 2.0.14 and 2.0.15. Anything higher than this will definitely result in an error. |
i have the same board , i had the 2.0.15 versiom, all set up , not working can you post a bin test fil of it to be sure the baord isnt borken |
Hello everyone, Help me!!!! epd_init(); crashes the ESP32-S3. I have to unplug it and press the Boot button while plugging it back in to be able to access it again. I tried with many Arduino ESP32 2.0.14 2.015 and more ( Ver above and under )... Drivers come from here ( https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/tree/esp32s3/src ) For those who would tell me, your device does not work. It worked, until the day I wanted to change my software to improve it... So, it is not improved since it is unusable... LOL Could there be another library that is causing this problem ? I tryed with Arduino and VSCode ( PlatformIO ) same problem :-( |
Can you provide the log that caused the crash? If it is not started, confirm whether you can find the ESP port in the device manager. If the port exists, then you can definitely upload the sketch. |
No log, I can compile and upload on it I must unplug and push the Boot button and plug again to have access to ESP32. 😜 Any other ideas? |
You are compiling for the ESP32-S3 and have enabled PSRAM? It's a common mistake. |
Yes of course |
Well, after some research, the problem is hard, not soft. I think the problem comes from the converter that powers the screen. I discovered it by turning the device off and on several times in a row. Sometimes (rarely), it starts fine but after a few seconds, or even a minute, everything stops again :-( I have version 2.3, is there a hard modification that could save my life? Thank you for your help |
Can you find the port? Disconnect the battery, hold down the BOOT button, and then plug in the USB-C. |
Thanks I will try :-) |
Yeeees the screen work now :-) But the SD Card and the Touch not working :-( Demo Compiled with: |
This issue is stale because it has been open for 30 days with no activity. |
Hello,
i recently bought the T5-S3 4.7" (https://de.aliexpress.com/i/1005004647326743.html), but couldn't get it to work:
The code doesn't compile: `C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino: In function 'void setup()':
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:109:40: error: invalid conversion from 'int*' to 'int32_t*' {aka 'long int*'} [-fpermissive]
109 | writeln((GFXfont )&FiraSans, buf, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
In file included from C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:6:
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:109:51: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
109 | writeln((GFXfont )&FiraSans, buf, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t cursor_y, uint8_t framebuffer);
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:113:44: error: invalid conversion from 'int' to 'int32_t' {aka 'long int*'} [-fpermissive]
113 | writeln((GFXfont )&FiraSans, string1, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:113:55: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
113 | writeln((GFXfont )&FiraSans, string1, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t cursor_y, uint8_t framebuffer);
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:117:44: error: invalid conversion from 'int' to 'int32_t' {aka 'long int*'} [-fpermissive]
117 | writeln((GFXfont )&FiraSans, string2, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:117:55: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
117 | writeln((GFXfont )&FiraSans, string2, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t cursor_y, uint8_t framebuffer);
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:121:44: error: invalid conversion from 'int' to 'int32_t' {aka 'long int*'} [-fpermissive]
121 | writeln((GFXfont )&FiraSans, string3, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:121:55: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
121 | writeln((GFXfont )&FiraSans, string3, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t cursor_y, uint8_t framebuffer);
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:125:44: error: invalid conversion from 'int' to 'int32_t' {aka 'long int*'} [-fpermissive]
125 | writeln((GFXfont )&FiraSans, string4, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:125:55: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
125 | writeln((GFXfont )&FiraSans, string4, &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont*, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t cursor_y, uint8_t framebuffer);
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino: In function 'void loop()':
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:158:60: error: invalid conversion from 'int' to 'int32_t' {aka 'long int*'} [-fpermissive]
158 | writeln((GFXfont )&FiraSans, (char )voltage.c_str(), &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:368:64: note: initializing argument 3 of 'void writeln(const GFXfont, const char*, int32_t*, int32_t*, uint8_t*)'
368 | void writeln(const GFXfont font, const char string, int32_t cursor_x,
| ~~~~~~~~~^~~~~~~~
C:\Users\black\AppData\Local\Temp.arduinoIDE-unsaved202454-7196-tmplbp.39ca\demo\demo.ino:158:71: error: invalid conversion from 'int' to 'int32_t' {aka 'long int'} [-fpermissive]
158 | writeln((GFXfont )&FiraSans, (char )voltage.c_str(), &cursor_x, &cursor_y, NULL);
| ^~~~~~~~~
| |
| int
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src/epd_driver.h:369:23: note: initializing argument 4 of 'void writeln(const GFXfont, const char*, int32_t*, int32_t*, uint8_t*)'
369 | int32_t *cursor_y, uint8_t *framebuffer);
| ~~~~~~~~~^~~~~~~~
Multiple libraries were found for "SD.h"
Used: C:\Users\black\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\SD
Not used: C:\Users\black\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: invalid conversion from 'int*' to 'int32_t*' {aka 'long int*'} [-fpermissive]`
Even if i change the variables to int32_t I get another error:
`In file included from c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c:6:
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.h:114:16: error: expected '=', ',', ';', 'asm' or 'attribute' before 'epd_output_row'
114 | void IRAM_ATTR epd_output_row(uint32_t output_time_dus);
| ^~~~~~~~~~~~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.h:119:16: error: expected '=', ',', ';', 'asm' or 'attribute' before 'epd_skip'
119 | void IRAM_ATTR epd_skip();
| ^~~~~~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.h:124:21: error: expected '=', ',', ';', 'asm' or 'attribute' before 'epd_get_current_buffer'
124 | uint8_t * IRAM_ATTR epd_get_current_buffer();
| ^~~~~~~~~~~~~~~~~~~~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.h:132:16: error: expected '=', ',', ';', 'asm' or 'attribute' before 'epd_switch_buffer'
132 | void IRAM_ATTR epd_switch_buffer();
| ^~~~~~~~~~~~~~~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c: In function 'fast_gpio_set_hi':
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c:58:5: error: 'GPIO' undeclared (first use in this function)
58 | GPIO.out_w1ts = (1 << gpio_num);
| ^~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c:58:5: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c: In function 'fast_gpio_set_lo':
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\ed047tc1.c:63:5: error: 'GPIO' undeclared (first use in this function)
63 | GPIO.out_w1tc = (1 << gpio_num);
| ^~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\i2s_data_bus.c: In function 'gpio_setup_out':
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\i2s_data_bus.c:450:21: error: 'GPIO_PIN_MUX_REG' undeclared (first use in this function)
450 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[gpio], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\i2s_data_bus.c:450:21: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\black\Documents\Arduino\libraries\LilyGo-EPD47-master\src\i2s_data_bus.c:450:45: error: 'PIN_FUNC_GPIO' undeclared (first use in this function)
450 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[gpio], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~
Multiple libraries were found for "SD.h"
Used: C:\Users\black\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0\libraries\SD
Not used: C:\Users\black\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: exit status 1`
Please help me use this board.
Thanks and Regards
B
The text was updated successfully, but these errors were encountered: