Black screen with SPI
See original GitHub issueI can initialize the display but the example code gives me black screen. The same display works with I2C.
Adafruit CircuitPython 7.3.0-alpha.0-38-g862210b3f-dirty on 2022-03-24; Adafruit Feather M4 Express with samd51j19
Board ID:feather_m4_express
import board
import busio
import displayio
import adafruit_displayio_ssd1306
import sys
displayio.release_displays()
try:
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
display_bus = displayio.FourWire(spi_bus=spi, command=board.D10, chip_select=board.D11, reset=board.D9, baudrate=10000000)
display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=64)
splash = displayio.Group()
display.show(splash)
color_bitmap = displayio.Bitmap(120, 50, 1)
color_palette = displayio.Palette(1)
color_palette[0] = 0xFFFFFF # White
bg_sprite = displayio.TileGrid(color_bitmap, pixel_shader=color_palette, x=0, y=0)
splash.append(bg_sprite)
while True:
pass
except (KeyboardInterrupt) as e:
spi.unlock()
sys.exit(0)
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Black screen on 1.3" SPI Colour LCD (240x240) by Pimoroni ...
Hi, im trying to make this screen work,but without any success. The main page says this display is has a ST7789V but looking...
Read more >My phone x has a black screen with a spinning wheel.
My phone x has a black screen with a spinning wheel. Tried the up button then down button then side button... nothing helped?...
Read more >Black screen when using higher SPI-speed for RA8857 LCD ...
I'm using an Arduino Due that talks via SPI to an LCD (800x480) with the RA8875 controller chip. The most recent datasheet I...
Read more >Eastrising RA8875 480x272 SPI Black screen - Arduino Forum
Have connected it up via SPI on my mega (pins 50,51,52,53, GND,VSS) but I get just a black screen. I would expect to...
Read more >LCD screen with DPI : Black screen - Raspberry Pi Forums
Hi everyone, I have an ili9488 screen that I would like to run on a Raspberry Pi CM3 + (Compute module) in DPI....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was me soldering the jumpers together - your questions helped me find the problem. Thanks!
Yes. Jumper on, contrary to the wrong label.
On Wed, Apr 6, 2022, 21:38 ladyada @.***> wrote: