PCMSK0 |= (1<<PCINT7); //Enable Pin Change Interrupt 7 PCICR |= (1<<PCIE0); //Enable the interrupt enable bit for PCINT sei();