Low voltage pin 5 on Mega

Hey all, I'm a newbie in Arduino. I noticed that on the Arduino Mega 2460, pin 5 puts out a much lower voltage than the other pins when set on HIGH. Is this a defected board, or something else? Thanks, Robert Glotzbach.

Digital pin 5 on a Mega should be the same as the other digital I/O pins.

How did you come to that conclusion. Is there a load attached to the pin.
Did you set the pin to OUTPUT with pinMode.
Leo..

1 Like

Oh indeed, the For-Loop did not reach pin 5, so it was not set to OUTPUT. Many thanks for your suggestion :slight_smile:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.