while you can use !digitalRead to blink LED, another option is to use the bitband toggle macro like this



*portToggleRegister(LEDPIN) = 1;