ESP32-S3, or ESP32-C3, Both Round 1.85 displays

These are just showing the Serial monitor either nothing or hex code.

#include <TFT_eSPI.h>

TFT_eSPI tft = TFT_eSPI();

void setup() {
tft.init();
tft.setRotation(1); // Landscape mode
tft.fillScreen(TFT_BLACK);

// Draw a button
// Rounded rectangle
tft.setTextColor(TFT_WHITE, TFT_BLUE);
tft.setCursor(0, 0);
tft.println("Hello World!");
}

void loop() {
// Add touch detection logic here if using a touchscreen
}

I have tried watching the guy on youtube who uses 1.28 round and going to user-setup and doing what he does but for my round touch displays. Still doesn't work
The ESP32-C3 also will run as Adafruit. I have run in VS and Arduino. Nothing works.

I have a waveshareESP32s3 and it tells me its esp32. non-touch and nothing displays.

#include "SPI.h"
#include <Adafruit_GFX.h>
#include <Adafruit_GC9A01A.h>

Adafruit_GC9A01A tft(9,8, 11,10,14,12);

void setup() {
pinMode(2,OUTPUT);
digitalWrite(2, HIGH);
tft.begin();
// put your setup code here, to run once:
}

void loop() {
tft.fillScreen(GC9A01A_DARKCYAN);
tft.fillCircle(120, 120,40, tft.color565(250, 100, 200));
delay(1000);// put your main code here, to run repeatedly:
tft.fillScreen(GC9A01A_DARKCYAN);
tft.fillRect(120, 120,60,40,GC9A01A_NAVY);//
delay(1000);
tft.setCursor(120,120);
tft.setRotation(1);
tft.setTextColor(GC9A01A_NAVY);
tft.setTextSize(5);
tft.fillScreen(GC9A01A_DARKCYAN);
tft.println("Lil JD");//
delay(1000);
}

This code doesn't work either.

Its is recommended that whenever you include code in your post, to place it within CODE tags to make it easier to read.

I am assuming that you mean IN the Serial Monitor. You don't have anything printing to the serial port, so no suprises that its prin ting nothing. The "hex code" may be boot up messages, or showing that the board is crashing.

Could you:

  • show the details of the displays you are using, perhaps post a link to them please
  • show the messages or "hex code" you are seeing in the serial monitor - please place the curos in the serial monitor, then, in the IDE select Edit -> Copy for forum (Markdown) and paste the result into your post.

Not sure that makes sense?

How are the displays connected to the board? SPI? Or the pins provided to the Adaffruit_GC9A01A statement?

That doesn't convey much. What are you expecing it to do and what doesn't it do? Are there any error messages?

Any further information you can give us will help us to help you.

Thanks.







Here is the hex codes. I keep getting error code on the esp3s3 touch, but I didn't do the reset boot buttons before running this.

The larger waveshare I have nothing to run with it. but I will check.


I can't get the 1.85 to be found. And while it was not running on this screen the other program was constantly running hex.

j

Delete all the pictures, they are useless.
Read the "How to get the best out of this forum", found on almost any page of the forum, and post according to those guide lines.
I see you already had a warning for this last week.
Leo..

So a quick summary of the pictures:

  • two showing serial port connections errors
  • one showing 100% completed download
  • one showing ESP boot messages
  • second possibly showing a crash dump?
  • one showing three round displays. Two are connected together (with 4 wires - power + I2C?) with one of them connected to an unidentified black box.
  • some code snippets, mainly void loop()

We still don't know what the display products actually are? Are these genuine Waveshare (quite expensive) or cheaper clones from Aliexpress or the like? Since we can't see the underside and we don't have a wiring diagram showing how everything is wired together (even a hand drawn one would help) we can only speculate about what the 4 connecting wires might be connecting to on each display. It would be helpful to know what product exactly we are dealing with. Is there an ESP32-C3 or ESP32-S3 built into them? On both displays or just one?

Not quite sure what this means? What do you mean by "can't get 1.85 to be found"? Also by "program was constantly running hex"? Probably language translation difficulties and one could perhaps have a guess at what might have been meant, but its not clear.

As per above comment, please follow the forum rules and post code within CODE tags (you can find the <CODE/> icon in the toolbar at the top of the post editor). Just edit your opening post and enclose the code in code tags.

Hi @liljd2025. As @Wawa said, it is better to post text as text. Pictures of text are usually not so useful.

I'll provide instructions you can follow to post the output that is printed to the Arduino IDE Serial Monitor tool by your sketch:

  1. Select Tools > Serial Monitor from the Arduino IDE menus to open the Serial Monitor view if it is not already open.
  2. Click the "Clear Output" icon at the right side of the Serial Monitor toolbar.
    Any existing content in Serial Monitor will be cleared.
  3. Press and release the reset button on the board.
    If your board doesn't have a reset button, you can instead unplug the USB cable, then plug it back in.
  4. Wait for your sketch to finish printing all the startup information.
  5. If the "Toggle Autoscroll" feature is enabled, as indicated by the background being highlighted behind the autoscroll icon icon on the Serial Monitor toolbar, click the icon to disable autoscrolling.
    The icon's background highlight will disappear:
  6. If not all the relevant output text is visible in the output field of the Serial Monitor panel, hover the mouse pointer over the border between the bottom panel of the Arduino IDE window and the editor panel.
    The mouse pointer will change to the resize style:
    screenshot of resize mouse pointer
    Then click and drag the border up until all the text is visible.
  7. Click at the top of the text in the output field of the Serial Monitor panel and then drag the mouse down until all the text is selected.
  8. Press the Ctrl+C keyboard shortcut (Command+C for macOS users).
    This will copy the selected text to the clipboard.
  9. Open a reply here on this forum topic by clicking the "Reply" button.
  10. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  11. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the copied text into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. Click the "Reply" button to publish the post.