#include #include #include SIGNAL(SIG_INTERRUPT0){ uint8_t port = PINA; if(port==1){ PORTD ^=(1<