#include #include int state1; int state2; SIGNAL(SIG_INTERRUPT0){ if ((PINA >> PA0) & 1)!=state1) { PORTD ^=(1<> PA1) & 1)!=state1) { PORTD ^=(1<