#Adafruit 1.44" Color TFT LCD Display wit...

1 messages · Page 1 of 1 (latest)

small sigil
#

I should also say that this display is a few years old, the back it only says (ST7735) so I tried the code with the ST7735 driver, instead of ST7735R, and also nothing. Maybe the RP2040 requires something extra when compared to the other feather boards?

#

and for the sake of completeness, the code:

import board
import displayio
from adafruit_st7735r import ST7735R

# Release any resources currently in use for the displays
displayio.release_displays()

spi = board.SPI()
tft_cs = board.D10
tft_dc = board.D11

display_bus = displayio.FourWire(
    spi, command=tft_dc, chip_select=tft_cs, reset=board.D9
)

display = ST7735R(display_bus, width=128, height=128)

# Make the display context
splash = displayio.Group()
display.show(splash)

color_bitmap = displayio.Bitmap(128, 128, 1)
color_palette = displayio.Palette(1)
color_palette[0] = 0xFF0000

bg_sprite = displayio.TileGrid(
    color_bitmap, pixel_shader=color_palette, x=0, y=0
)
splash.append(bg_sprite)

while True:
    pass
astral rain
#

I would suggest double checking all wiring.

#

Also, are you getting any errors in the serial console?

small sigil
#

Nop, no errors at all, I'll snap a picture and share it as well.

crude barn
#

Maybe there's no board.SPI(), like on the Pico

astral rain
#

Using board.SPI() is valid and uses SCK, MO and MI.

crude barn
astral rain
#

Yes

small sigil
#

I just re-did the wiring and same behavior.

astral rain
#

Seems right. Are you using the example code from that article?

small sigil
#

Yes, just changed a few pins to match my picks for rst dc and cs.