adafruit/Adafruit_CircuitPython_ST7789

Display Bitmaps on Gizmo with CPBluefruit

djecken opened this issue · 10 comments

Trying to adapt the bitmap demo code from the circuit python display learn guide to run on the TFT gizmo using circuit playground bluefruit.

https://learn.adafruit.com/circuitpython-display-support-using-displayio/display-a-bitmap

Code runs fine but the display only shows black lit screen.

What code do you have so far?

Thanks, I don't seem to be able to get it working either. I'm wondering if it may be an issue with OnDiskBitmap and the fact that we're using different pins for SPI than normal with this. Also, I'm not sure if it was an artifact from a previous test, but adafruit_imageload isn't required for this.

I'll have to try hooking up a saleae later to see if we're getting data on the expected pins.

sounds good, thanks! I hope to be able to use the slideshow library with the Gizmo TFT at some point as well.

@djecken @makermelissa I think this is covered now by the gizmo library right? The examples on this learn guide page: https://learn.adafruit.com/circuitpython-display-support-using-displayio/display-a-bitmap

can be done with only slight modification using the gizmo library:

from adafruit_gizmo import tft_gizmo

display = tft_gizmo.TFT_Gizmo()

Though the included purple.bmp is bigger than the gizmo screen. I used a 240 x 240 blinka bmp file was able to show it on the screen like this.

@FoamyGuy Can you try testing the TFT Gizmo with the Adafruit CircuitPython Slideshow library as well?

@kattni Yep, I can test that out later tonight.

@kattni slideshow_tft_gizmo.py from inside the examples folder of the slideshow repo is working successfully on a CPB + TFT Gizmo

@djecken Looks like you should be good to go!

Closing.