GPIOs are usually controlled by a single bit of a register anyway. Most likely you need to do something like:
// Set high
PORTB |= 1 << PINB5;
// Set low
PORTB &= ~(1 << PINB5);
GPIOs are usually controlled by a single bit of a register anyway. Most likely you need to do something like:
// Set high
PORTB |= 1 << PINB5;
// Set low
PORTB &= ~(1 << PINB5);