cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging with Display ST7735

Hans345
Associate

Hi

I want to debug my Display ST7735 (128 x 128 px). For that i wrote a code which sets the screen line by line into green color. When i flash the code it works fine. When i try to debug nothing happens on the display. 

What can i do that the display changes the color during debugging?

Here you see the configuration of the debugger:

Hans345_0-1716356843618.png

Here you see a screenshot of the code where each pixel (x,y) is set to GREEN color with SPI. w and h are the width and height of the display in pixel. 

Hans345_1-1716356916569.png

This Code is from the adafruit library ST7735. 

Thanks for your answer,
Raphael

2 REPLIES 2

Check signal timings with a scope or analyzer. 

Review data sheet check if you can read back registers or WHOAMI register.

Check back light enabled.  Fill frame buffer with different patterns.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Techn
Associate III

Do you want to try testLines(uint16_t color)