Arduino digitalWrite() output shows inconsistent voltages on multiple pins

I believe if you raise the delay very high (5 or 10 seconds) it will end up giving the right voltage.