Hello,
import ugame causes my PyGamer to hang. It is unresponsive, requiring a reset.
(sysname='samd51', nodename='samd51', release='7.0.0', version='7.0.0 on 2021-09-20', machine='Adafruit PyGamer with samd51j19')
Otherwise, the Pygamer appears to be happy.
Any ideas?
Thanks!
Pygamer ugame module hangs
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- deshipu
- Posts: 16
- Joined: Mon Jun 27, 2016 5:40 pm
Re: Pygamer ugame module hangs
I though I have tried ugame with CircuitPython on PyGamer before 7.0.0 was released, but turns out I had a displayio version of the fame uploaded, so it never tried to import ugame.
Looking closer at what is happening, it seems it crashes on this line:
I'm reporting this as a bug at https://github.com/adafruit/circuitpython/issues/5476
Looking closer at what is happening, it seems it crashes on this line:
Code: Select all
display = displayio.Display(_fourwire, _TFT_INIT, width=160, height=128,
rotation=0, backlight_pin=board.TFT_LITE,
auto_refresh=False, auto_brightness=True)
- nscale
- Posts: 25
- Joined: Tue Mar 11, 2014 2:02 pm
Re: Pygamer ugame module hangs
Thanks for looking into this. I'll keep an eye out for a fix.
- deshipu
- Posts: 16
- Joined: Mon Jun 27, 2016 5:40 pm
Re: Pygamer ugame module hangs
This is now worked around in CircuitPython 7.1.0-beta.1.
Please be positive and constructive with your questions and comments.