0

Only pin13 works as output and it bleeds to other pins
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Only pin13 works as output and it bleeds to other pins

by HeatXfer on Sat Mar 11, 2017 1:18 pm

Just received my UNO starter kit.
Following the 'MyBlink' tutorial and using the tiny breadboard with resistors & a 5mm red led - works great until I reassign the output from pin 13 to pin 7 in the sketch as suggested: the on-board led goes out and pin 13 output drops to approx half (very dim blinking led). When I move the output jumper to pin 7 the external led does nothing and the on-board led stays lit continuously. When I remove the output jumper the on-board led remains lit with no blinking. This result is the same when I assign the output to any other pin.

Is this a known issue? I wasn't able to find anything like it described in this or the Arduino CC forums. Thank you.

HeatXfer
 
Posts: 3
Joined: Fri Nov 21, 2014 2:22 am

Re: Only pin13 works as output and it bleeds to other pins

by adafruit_support_bill on Sat Mar 11, 2017 1:55 pm

Please post your modified code and a photo showing your wiring.

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

Re: Only pin13 works as output and it bleeds to other pins

by HeatXfer on Sat Mar 11, 2017 2:28 pm

Thank you for such a fast response.

Image
Image

HeatXfer
 
Posts: 3
Joined: Fri Nov 21, 2014 2:22 am

Re: Only pin13 works as output and it bleeds to other pins

by adafruit_support_bill on Sat Mar 11, 2017 2:38 pm

Your digitalWrites are still referencing "LED_BUILTIN". You need to change that to "led"

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

Re: Only pin13 works as output and it bleeds to other pins

by HeatXfer on Sat Mar 11, 2017 2:53 pm

Thank you. I had previously changed that line to LED and it didn't work. I didn't realize it was case sensitive.

Thanks again!

HeatXfer
 
Posts: 3
Joined: Fri Nov 21, 2014 2:22 am

Please be positive and constructive with your questions and comments.