Sketches running oddly or not working

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
zinc55
 
Posts: 30
Joined: Thu Jan 19, 2012 6:52 pm

Sketches running oddly or not working

Post by zinc55 »

I picked up my Arduino after taking a break from it for awhile. I tried a python -> ardunio communication sketch and fount it ran oddly. (I'd have to run the script twice to get it to work, and after it said 'LED lit' the LED remained dark.) I loaded the basic blink sketch and put an LED on 13 and GND. It didn't work, nor did 3 other LEDs. I tried using other pins, but that isn't working either. Using the Blink sketch, the pin voltage hovers around from ~.112 to ~.130.

Did I fry my Ardunio somehow?

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

Re: Sketches running oddly or not working

Post by adafruit_support_bill »

put an LED on 13 and GND.
It is better to use a current limiting resistor in series with the led. I know there are a lot of examples out there that don't, but it is a bad practice. It is possible to damage either the led or the output pin.
http://www.ladyada.net/learn/arduino/LEDs.html

You must have some working pins (pins 0 and 1) if you are able to upload to the Arduino. Do you see led activity when you boot and/or upload to the board?

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

Return to “Arduino”