Giter VIP home page Giter VIP logo

Comments (11)

Wind-stormger avatar Wind-stormger commented on September 3, 2024

It seems that the FLASH or PSRAM size configuration does not match.

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

Are you using the firmware from the S3LCD_OCT_16M folder?

from s3lcd.

CyberSpiderPrime avatar CyberSpiderPrime commented on September 3, 2024

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

The driver is written in C and compiled into the firmware while building the MicroPython firmware. The source for the driver is in the repo.

The Python driver from https://github.com/russhughes/st7789s3_mpy should be able to drive the T-HMI display, but you will have to modify the tft_config.py code for the pins used on the T-HMI. Also, it will be much slower.

Your device may have a different memory configuration (Quad SPI needing S3LCD_QUAD_16M firmware?). Can you post a link to the generic version of firmware that is working?

from s3lcd.

CyberSpiderPrime avatar CyberSpiderPrime commented on September 3, 2024

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

Sorry that link should have been https://github.com/russhughes/t-display-s3.

from s3lcd.

CyberSpiderPrime avatar CyberSpiderPrime commented on September 3, 2024

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

Reset is tied to the processors reset line and not to an IO pin, so you can ignore it. LCD_PCLK is the WR pin(8). Pin 10 controls power to the LCD and must be set high to turn on the display. This needs to be done before you configure the display.

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

Here is a pure python driver customized for the T-HMI display. It is faster than the other driver, but not as fast as the s3lcd C driver.

Edit: forgot the link to https://github.com/russhughes/thmi_py

from s3lcd.

CyberSpiderPrime avatar CyberSpiderPrime commented on September 3, 2024

from s3lcd.

CyberSpiderPrime avatar CyberSpiderPrime commented on September 3, 2024

from s3lcd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.