Trinket M0 Accessing the SWCLK and SWDIO pins

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
seawolf
 
Posts: 2
Joined: Thu Feb 09, 2012 10:58 am

Trinket M0 Accessing the SWCLK and SWDIO pins

Post by seawolf »

Is there any way to use the SWCLK and SWDIO pins as standard IO in Circuitpython? (Neopixel data pin actually.) The pins don't seem to be defined in the board, microcontroller, or microcontroller.pin modules. I'd prefer two FSR's to one, which leaves me 1 pin short. I don't want to try to solder a wire to the red LED unless I absolutely have to. TIA

User avatar
seawolf
 
Posts: 2
Joined: Thu Feb 09, 2012 10:58 am

Re: Trinket M0 Accessing the SWCLK and SWDIO pins

Post by seawolf »

For anyone reading this later, I never figured out how to use these pins. However, there is a via between pin 13 and the resistor for the red LED that is right next to the resistor. If you have enough magnification, you can remove the resistor and use an exacto knife to scrap off the black solder resist from the via. This gives you enough contact area to solder a 30AWG wire to.

User avatar
Franklin97355
 
Posts: 23902
Joined: Mon Apr 21, 2008 2:33 pm

Re: Trinket M0 Accessing the SWCLK and SWDIO pins

Post by Franklin97355 »

The QTPY is an option you could make use of.https://www.adafruit.com/?q=qtpy&sort=BestMatch

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

Return to “Trinket ATTiny, Trinket M0”