Skip to content

Help optimizing for 128x160 #1

Description

@skyblaster

I bought an inexpensive 1.8" TFT LCD not realizing it had a worse pixel density than the T-Display.

I used a custom User_Setup.h file with the latest TFT_eSPI library.
Most important variables listed below:

#define USER_SETUP_INFO "User_Setup"
#define ST7735_DRIVER
#define TFT_RGB_ORDER TFT_RGB
#define TFT_WIDTH  128
#define TFT_HEIGHT 160
#define ST7735_ROBOTLCD

I also made the obvious following change in the .ino file:

int tft_width = 128;
int tft_height = 160;

It's functional as-is, so not a big deal that some text wrapping has occurred, but any quick hints on optimizing for this size?

EDIT: Adding the link to what helped me get it going:
https://www.devacron.com/2022/06/27/add-an-st7735-tft-display-to-an-esp32/

Thanks!

PXL_20240105_015316683

PXL_20240105_015406058

PXL_20240105_015537132

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions