Fastest wait until pin changes from LOW to HIGH

Mea culpa

I was checking the wrong bit

it had to be

while (PIND & 0b00100000 ){
}