-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
GFX display not working with T-Display S3 AMOLED #498
Comments
it have many similar products, can you give your purchase link to check? |
https://www.lilygo.cc/products/t-display-s3-amoled?variant=43506902368437
El lun, 17 jun 2024, 2:27, moononournation ***@***.***>
escribió:
… it have many similar products, can you give your purchase link to check?
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBJTGD6AVJUS276VMLRANDZHYUNNAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRHE3DEOBVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
the pins are correct, can you run PDQgraphicstest ok? |
Correct device was uncommented in Arduino_GFX_dev_device.h , (don't know
about pins) but PDQgraphicstest produces nothing on the board.
El lun, 17 jun 2024 a las 8:01, moononournation ***@***.***>)
escribió:
… the pins are correct, can you run PDQgraphicstest ok?
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBJTGFCHEHOHSPIWEUB5GTZHZ3TDAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGM2TIMJQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
any output in serial monitor? |
No, nothing in serial.
How do I know what to uncomment in databus or display, if there's no name
about the board?
El lun, 17 jun 2024 a las 8:13, moononournation ***@***.***>)
escribió:
… any output in serial monitor?
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBJTGCU5IGDBKBNBECN45DZHZ5CDAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGM3DQNJRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
it should at least have some output show program started, please check youur board parameters selected correct in Arduino IDE tools menu |
Sorry, there is output.
Pixels 3935183
Benchmark micro-secs
Screen fill 38491
Text 55165
Pixels 3935201
Lines 3528155
Horiz/Vert Lines 8489
Rectangles (filled) 49674
Rectangles (outline) 7060
Triangles (filled) 120497
Triangles (outline) 115618
Circles (filled) 201453
Circles (outline) 348419
Arcs (filled) 111537
Arcs (outline) 229778
Rounded rects (filled) 90156
Rounded rects (outline) 76782
Done!
But the screen remains black
El lun, 17 jun 2024 a las 8:17, Mariano Goni ***@***.***>)
escribió:
… No, nothing in serial.
How do I know what to uncomment in databus or display, if there's no name
about the board?
El lun, 17 jun 2024 a las 8:13, moononournation ***@***.***>)
escribió:
> any output in serial monitor?
>
> —
> Reply to this email directly, view it on GitHub
> <#498 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEBJTGCU5IGDBKBNBECN45DZHZ5CDAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGM3DQNJRHE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
Can you specify what to uncomment
in Arduino_GFX_databus.h, Arduino_GFX_display.h, and Arduino_GFX_pins.h for
this board?
El lun, 17 jun 2024 a las 8:20, Mariano Goni ***@***.***>)
escribió:
… Sorry, there is output.
Pixels 3935183
Benchmark micro-secs
Screen fill 38491
Text 55165
Pixels 3935201
Lines 3528155
Horiz/Vert Lines 8489
Rectangles (filled) 49674
Rectangles (outline) 7060
Triangles (filled) 120497
Triangles (outline) 115618
Circles (filled) 201453
Circles (outline) 348419
Arcs (filled) 111537
Arcs (outline) 229778
Rounded rects (filled) 90156
Rounded rects (outline) 76782
Done!
But the screen remains black
El lun, 17 jun 2024 a las 8:17, Mariano Goni ***@***.***>)
escribió:
> No, nothing in serial.
>
> How do I know what to uncomment in databus or display, if there's no name
> about the board?
>
> El lun, 17 jun 2024 a las 8:13, moononournation (<
> ***@***.***>) escribió:
>
>> any output in serial monitor?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#498 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AEBJTGCU5IGDBKBNBECN45DZHZ5CDAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGM3DQNJRHE>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
>
> --
> Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
>
>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
the output seems correct. if you uncommented the dev device in the header file, no need to touch any parameters |
I'm using arduino ide 2.1.1
Board is new, when connected first time screen worked and showed graphics.
line uncommented in dev device is #define LILYGO_T_Display_S3_AMOLED
Any other ideas?
El lun, 17 jun 2024 a las 8:30, moononournation ***@***.***>)
escribió:
… the output seems correct. if you uncommented the dev device in the header
file, no need to touch any parameters
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBJTGEOLUIPZWQY3QKEJ4DZHZ673AVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGM4DSNJVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
Display working now. Any information on how to use sprites with Arduino GFX Library? |
good new, can you share what fix it? |
Thanks.
Yes , you need to add the library LilyGo-AMOLED-Series-master.zip and not
other.
El lun, 17 jun 2024 a las 16:17, moononournation ***@***.***>)
escribió:
… good new, can you share what fix it?
and you may refer SpriteGif.ino to get some hint.
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBJTGF6ECC7ZRCSSA6TT3LZH3VZFAVCNFSM6AAAAABJMZSOU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGU2DQNRSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mariano Goñi https://www.marianogoni.com <http://www.marianogoni.com>
|
Oh really? |
Is this a correct basic sketch for LilyGo T-Display S3 Amoled? I tried many times and didn't work. It compiles and uploads correctly.
#include <Arduino_GFX_Library.h>
#define GFX_DEV_DEVICE LILYGO_T_DISPLAY_S3_AMOLED
Arduino_DataBus bus = new Arduino_ESP32QSPI(
6 / cs /, 47 / sck /, 18 / d0 /, 7 / d1 /, 48 / d2 /, 5 / d3 */);
Arduino_GFX gfx = new Arduino_RM67162(bus, 17 / RST /, 0 / rotation */);
void setup(void)
{
Serial.begin(115200);
Serial.println("Setup Started");
#ifdef GFX_EXTRA_PRE_INIT
GFX_EXTRA_PRE_INIT();
#endif
// Init Display
if (!gfx->begin())
{
Serial.println("gfx->begin() failed!");
while (1); // Halt the program
}
Serial.println("gfx->begin() success!");
gfx->fillScreen(BLACK);
Serial.println("Screen filled with BLACK");
#ifdef GFX_BL
pinMode(GFX_BL, OUTPUT);
digitalWrite(GFX_BL, HIGH);
Serial.println("Backlight turned ON");
#endif
gfx->setCursor(10, 10);
gfx->setTextColor(RED);
gfx->println("Hello World!");
Serial.println("Hello World printed!");
delay(5000); // 5 seconds
}
void loop()
{
gfx->setCursor(random(gfx->width()), random(gfx->height()));
gfx->setTextColor(random(0xffff), random(0xffff));
gfx->setTextSize(random(6) /* x scale /, random(6) / y scale /, random(2) / pixel_margin */);
gfx->println("Hello World!");
delay(1000); // 1 second
}
The text was updated successfully, but these errors were encountered: