trinket Pro Question

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
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

trinket Pro Question

Post by mjpcarbon »

If I code a pin High .... say 12 will it have 5 v to lite a led ? I have tried and am getting only about 1.6v at pin 12 when it is HIGH ?

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: trinket Pro Question

Post by adafruit_support_bill »

Did you declare the pin to be in OUTPUT mode via pinmode? https://www.arduino.cc/reference/en/lan ... o/pinmode/

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: trinket Pro Question

Post by mjpcarbon »

Bingo
Thank you

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: trinket Pro Question

Post by adafruit_support_bill »

Excellent! Thanks for the update.

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

Return to “Trinket ATTiny, Trinket M0”