0.96” SPI Colour LCD is blank

#1

I am using the new breakout garden with spi, with the examples in the python st7735 library and the 0.96" Colour LCD. What are the pinouts of the 2 SPI slots. I can’t seem to display anything. It’s just blank.

What do I need to put in the configuration to initialize the display?

#2

If you’ve installed it as per https://github.com/pimoroni/st7735-python and ensured you’ve turned on SPI in raspi-config you should be pretty much set. The examples listed specify in the code where they’re expecting the breakout; for shapes.py in the code is:

shapes.py - Display test shapes on the LCD using PIL.
If you're using Breakout Garden, plug the 0.96" LCD (SPI)
breakout into the rear slot.
""")
#3

Looks like there are at least three people with a similar issue?
https://forums.pimoroni.com/search?q=0.9spi%20category%3A5

#4

I seem to have the same problem. Can you try this : run one of the python examples (the scrolling-text or the gif) and without stopping it, reboot the raspberry. Will a display briefly appear? Thank you.

#5

Hmm, perhaps the library isn’t setting the LCD backlight on correctly, I’ll check with Phil to see what’s up. On the Breakout Garden SPI, the backlight control pin is BCM19 for the front slot and BCM18 for the back slot. You can try turning the backlight on it manually too, with these terminal commands:
gpio -g mode 19 out
gpio -g write 19 1

#6

I’ve pushed a fix to the examples for this. You’ll need to either grab the latest examples from GitHub, or change the backlight=18 to backlight=19 to use the right pin for the front slot.

1 Like