CPB and GIZMO black screen

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
eng1user
 
Posts: 3
Joined: Tue Dec 28, 2021 5:26 pm

CPB and GIZMO black screen

Post by eng1user »

Have found a number of topics on this issue, followed a number of suggestions others have tried with no success.
The gizmo works with the https://cdn-learn.adafruit.com/assets/a ... 1576641935
But does not work with Circuitpython.

Boot_out.txt
Adafruit CircuitPython 7.2.0 on 2022-02-24; Adafruit Circuit Playground Bluefruit with nRF52840
Board ID:circuitplayground_bluefruit

REPL in MU
Adafruit CircuitPython 7.2.0 on 2022-02-24; Adafruit Circuit Playground Bluefruit with nRF52840

When run displays.
Code done running,,no errors.

List of libraries attached. - See lob.png

Modules list
>>> help("modules")
__main__ board microcontroller sharpdisplay
_bleio builtins micropython storage
adafruit_bus_device busio msgpack struct
adafruit_pixelbuf collections neopixel_write supervisor
aesio countio onewireio synthio
alarm digitalio os sys
analogio displayio paralleldisplay terminalio
array errno pulseio time
atexit fontio pwmio touchio
audiobusio framebufferio rainbowio traceback
audiocore gc random ulab
audiomixer getpass re usb_cdc
audiomp3 gifio rgbmatrix usb_hid
audiopwmio io rotaryio usb_midi
binascii json rtc uselect
bitbangio keypad sdcardio vectorio
bitmaptools math select watchdog
Plus any modules on the filesystem
>>>

Any suggestions?
Attachments
list of installed libraries
list of installed libraries
lib.png (9.63 KiB) Viewed 93 times

User avatar
adafruit_support_carter
 
Posts: 29154
Joined: Tue Nov 29, 2016 2:45 pm

Re: CPB and GIZMO black screen

Post by adafruit_support_carter »

When run displays.
Code done running,,no errors.
The code is completing and exiting. When that happens, things reset and the display can be lost. One way to prevent that is to add an infinite loop at the very end of your code so it won't exit:

Code: Select all

while True:
    pass
There's a TFT Gizmo example code here:
https://github.com/adafruit/Adafruit_Ci ... ft_demo.py
It uses the gizmo library (same repo).

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”