PORTB ^= ~( 1 << pos );
PORTB = ~PORTB;

Just looking for to learn if there are any tricks to making this type of thing more concise. Thank you.