//Aula 14/11 funções mais rapidas
void setup() {
DDRB = DDRB | (1 << DDB2);
}
void loop() {
/*
PORTB = PORTB | (1 << PB2);
delay(1000);
PORTB = PORTB & ~(1 << PB2); //porta NOT
delay(1000);
*/
PORTB = PORTB ^ (1 << PB2); //porta XOR
delay(1000);
}