Adafruit Trinket M0 Footswitch not working

Adafruit's tiny microcontroller platform. Please tell us which board you are 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
bratan808
 
Posts: 1
Joined: Sat Oct 09, 2021 7:55 am

Adafruit Trinket M0 Footswitch not working

Post by bratan808 »

Hello guys, I purchased an adafruit Trinket M0 and i basically copypasted the code mentionend in the video made by adafruit (https://www.youtube.com/watch?v=gzG1hSg30aY), but nothing seems to happen. I am not sure what I am doing wrong as even the switch I am using is the same switch which is used in the video.. The Trinket M0 is starting and the pink and green LEDs are lightubg up but it is not working. The file is named main.py . You can also see two photos, but I do not think my soldering has shorted anything out, as I cannot see anything that would indicate such a problem.
Attachments
WhatsApp Image 2021-10-09 at 13.59.56.jpeg
WhatsApp Image 2021-10-09 at 13.59.56.jpeg (174.45 KiB) Viewed 336 times
WhatsApp Image 2021-10-09 at 13.59.45.jpeg
WhatsApp Image 2021-10-09 at 13.59.45.jpeg (217.29 KiB) Viewed 336 times

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Trinket M0 Footswitch not working

Post by dastels »

I do see bare wires, which is never a good thing. The soldering on the trinket pins looks globby, but doesn't appear to be shorting on the other pins.

Can you post the code? Also, make sure there isn't any other files named code or main.... just your main.py.

Dave

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

Return to “Trinket ATTiny, Trinket M0”