ISR(INT4_vect)
if (PINE & (1<<4))

E4 = ICS4х

EICRB &= ~((1<<ISC40)|(1<<ISC41))
EICRB |= (1<<ISC40)
EIMSK |=(1<<INT4);