0

Trinket M0 Not Running Stock main.py After Update
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trinket M0 Not Running Stock main.py After Update

by ababypenguin on Wed Jul 10, 2019 11:19 pm

I just bought my Trinket M0 and it was working great, I was having fun with the main.py that was included on the device but then I updated my Trinket to 4.0.2 and now the stock main.py is not working. (DotStar is not going through the rainbow, capacitive touch on pin 3 is not working, etc) This is very strange, as I can get this demo to work https://learn.adafruit.com/circuitpython-essentials/circuitpython-digital-in-out

I've tried reinstalling the default files from here https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino/downloads but it's still not working. The DotStar is only showing a violet light, and capacitive touch is still not working on pin 3.

Any ideas? Thanks!

ababypenguin
 
Posts: 1
Joined: Wed Jul 10, 2019 10:54 pm

Re: Trinket M0 Not Running Stock main.py After Update

by adafruit_support_mike on Sun Jul 14, 2019 11:54 pm

[moved to the CircuitPython forum]

adafruit_support_mike
 
Posts: 59156
Joined: Thu Feb 11, 2010 2:51 pm

Re: Trinket M0 Not Running Stock main.py After Update

by siddacious on Mon Jul 15, 2019 1:04 am

It looks like the libraries included in that file bundle are incompatible with the newer versions of CircuitPython. I was able to address this on my Trinket by installing newer copies of the adafruit_hid/ adafruit_dotstar.mpy and neopixel.mpy libraries from the CircuitPython bundle:
https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries

If this doesn't work for you, please connect to the serial console and post back here with any error messages there.

https://learn.adafruit.com/welcome-to-c ... al-console

siddacious
 
Posts: 151
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.