Hallo

Muss es nicht PORTB &= ~(1 << PB0) heißen?