0

ST7735 Color Display
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ST7735 Color Display

by Leobute on Sun May 30, 2021 4:05 pm

HI.
I use and it works for me the Color display using the Adafruit_ST7735 library.
My only question is :
How can i do a check to see if the display is connected ?

There is not a begin nor other function that return true or false in case the display cannot be initialized.

Any Help ?

Thanks a lot.

Leobute
 
Posts: 3
Joined: Sun May 30, 2021 4:01 pm

Re: ST7735 Color Display

by adafruit_support_mike on Sun May 30, 2021 7:34 pm

Leobute wrote:How can i do a check to see if the display is connected ?

Our libraries assume the display is connected and ready to talk.

I suppose you could try sending an SPI message to the display and see if there's any response.

adafruit_support_mike
 
Posts: 63061
Joined: Thu Feb 11, 2010 2:51 pm

Re: ST7735 Color Display

by Leobute on Mon May 31, 2021 5:04 am

Hi, thanks for the reply.
Using your adafruit library for another kind of display, ex : SSD1306, i found the begin(xxx) returing a true or false.
So i was expecting the same for the ST7735.
Can you help me in providing me an SPI command for the ST7735 just to see if i can manage the check i need ?

Really thanks

Leonardo

Leobute
 
Posts: 3
Joined: Sun May 30, 2021 4:01 pm

Please be positive and constructive with your questions and comments.