0

trinket Pro Question
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

trinket Pro Question

by mjpcarbon on Sat Jun 22, 2019 6:23 pm

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 ?

mjpcarbon
 
Posts: 425
Joined: Fri Nov 29, 2013 8:57 pm

Re: trinket Pro Question

by adafruit_support_bill on Sat Jun 22, 2019 8:01 pm

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

adafruit_support_bill
 
Posts: 73584
Joined: Sat Feb 07, 2009 10:11 am

Re: trinket Pro Question

by mjpcarbon on Mon Jun 24, 2019 6:36 pm

Bingo
Thank you

mjpcarbon
 
Posts: 425
Joined: Fri Nov 29, 2013 8:57 pm

Re: trinket Pro Question

by adafruit_support_bill on Mon Jun 24, 2019 6:40 pm

Excellent! Thanks for the update.

adafruit_support_bill
 
Posts: 73584
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.