Only getting 2 volts from output pins

Hello,

When sending a digitalWrite high to any output pins, I am only getting about 2 volts. I have a good 5 and 9 volts at their respective pins. I am running an Uno with an Ethernet shield.

Any ideas?

Any ideas?

Post code. Post a schematic. Post your method.

Any ideas?

You forgot to define the pins as outputs in the setup() function.

missing a common ground?