I have a Micro that seems to work ok, that is until I tried using port instructions.
I set D0-D7 to OUTPUT.
My D5 pin doesn't respond when written to with PORTD = B11111111;
I back-tracked and digitalWrite(5,255) works just fine.
Is there a problem in firmware?
Did I get a Dud from Radio-Shack?
Al
On your arduino Micro board the chip ( 32U4 ) the arduino pin 5 maps from port C bit 6, not the D port. At least that is what the schematic drawing shows.