Go Down

Topic: [Solved] Arduino MEGA Digital I/O Issues (Read 696 times) previous topic - next topic


Aug 25, 2012, 05:46 am Last Edit: Aug 25, 2012, 05:57 am by physics-dude Reason: 1
I just got myself an Arduino MEGA R3 for an upcoming project and every digital I/O pin except pin 13 falls at roughly 3.5 volts with very little current.

For example, while running a basic blink sketch on all pins, I can connect an LED to pin 13 through a 220 ohm resistor and It will illuminate just fine. However, if I use that same setup but swap pin 13 for say, pin 12, then the LED will light up very very dimly and the voltage will drop to ~1.5v
Choosing a different ground pin or different LED does not solve the issue.

Any ideas?

Coding Badly

Did you forget to configure the pin as an output?


Did you forget to configure the pin as an output?

Ya, that was the problem... I've been up for way too long..  :smiley-sweat:

Thanks, and sorry for your time. 

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131