Giter Club home page Giter Club logo

Comments (10)

moononournation avatar moononournation commented on August 22, 2024

SPI + ILI948x combination is a little tricky, because did not support 16-bit color. You should use Arduino_ILI9486_18bit

from arduino_gfx.

pdo59 avatar pdo59 commented on August 22, 2024

Hi, Thank you very much for your prompt response and suggestion. I have already tried using the Arduino_ILI9486_18bit constructor in my attempts, as indicated in my initial message. Unfortunately, I still haven't been able to get the display to work correctly with this setup.

#define GFX_BL 9 // default backlight pin, you may replace DF_GFX_BL to actual backlight pin
Arduino_DataBus *bus = new Arduino_HWSPI(7 /* DC */, 10 /* CS */);
Arduino_GFX *gfx = new Arduino_ILI9486_18bit( bus, 8 /* RST */, 0 /* rotation */, false /* IPS */);

I used this connections:

SCLK | D13
MISO | D12
MOSI | D11
LCD_CS | D10
LCD_BL | D9
LCD_RST | D8
LCD_DC | D7
TP_BUSY | D6
SD_CS | D5
TP_CS | D4
TP_IRQ | D3

Given this, I'm wondering if there might be another aspect of the configuration or setup that I'm missing, or if there's another workaround or step that I should try to resolve this issue.
Any further insights or recommendations you could offer would be greatly appreciated.
Thanks again for your time and support.

from arduino_gfx.

moononournation avatar moononournation commented on August 22, 2024

I found the SPI shared with SD and TP, you may need to pullup both CS to avoid signal conflict.

from arduino_gfx.

pdo59 avatar pdo59 commented on August 22, 2024

To ensure I'm understanding your suggestion correctly, are you recommending that I add pull-up resistors to the CS signals of both the SD card and the TP?

from arduino_gfx.

moononournation avatar moononournation commented on August 22, 2024

you can use pinMode and digitalWrite high to pull up in software

from arduino_gfx.

pdo59 avatar pdo59 commented on August 22, 2024

nothing to do, it doesn't work

from arduino_gfx.

moononournation avatar moononournation commented on August 22, 2024

thats all I know

from arduino_gfx.

pdo59 avatar pdo59 commented on August 22, 2024

Thank you again for your support.
I'll continue to investigate and explore other potential fixes or workarounds for the problem. If anyone else in the community has experienced something similar or has suggestions, I would be grateful for any additional advice.

from arduino_gfx.

moononournation avatar moononournation commented on August 22, 2024

I found the waveshare init code using 16-bit color, but ILI9486 datasheet did not mention it. And I tried other ILI9486 display cannot use 16-bit, so I believe it actually ST7796. you may try Arduino_ST7796 is it work.

from arduino_gfx.

pdo59 avatar pdo59 commented on August 22, 2024

Hi, @moononournation,
I tested HelloWorld.ino example with following settings:

#define GFX_BL 9//DF_GFX_BL // default backlight pin, you may replace DF_GFX_BL to actual backlight pin

Arduino_DataBus *bus = new Arduino_HWSPI(7, 10);
Arduino_GFX *gfx = new Arduino_ST7796(bus, 8 /*RST*/ , 0 /* rotation */);

but it doesn't work, the backlight comes on and nothing else; I also tried with IPS = true.

from arduino_gfx.

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.