Reading from an OUTPUT works so toggling pin 13 can be reduced to this single line of code...
digitalWrite(13, ! digitalRead( 13 ) );
Reading from an OUTPUT works so toggling pin 13 can be reduced to this single line of code...
digitalWrite(13, ! digitalRead( 13 ) );