Что бы убрать эту ошибку, в файле main.c на до изменить эту строчку
ISR(SIG_INTERRUPT0)//прерывание по падающему фронту.
на
ISR(INT0_vect)//прерывание по падающему фронту.
Код: Выделить всё
#if defined (__AVR_ATmega8__)
#else
EMPTY_INTERRUPT(BADISR_vect);
// ISR( INT0_vect ){while(1) asm("NOP");} /* External Interrupt Request 0 */
ISR( INT1_vect ) {while(1) asm("NOP");} /* External Interrupt Request 1 */
ISR( PCINT0_vect ) {while(1) asm("NOP");} /* Pin Change Interrupt Request 0 */
ISR( PCINT1_vect ) {while(1) asm("NOP");} /* Pin Change Interrupt Request 0 */
ISR( PCINT2_vect ) {while(1) asm("NOP");} /* Pin Change Interrupt Request 1 */
ISR( WDT_vect ) {while(1) asm("NOP");} /* Watchdog Time-out Interrupt */
// ISR( TIMER2_COMPA_vect ) {while(1) asm("NOP");} /* Timer/Counter2 Compare Match A */
ISR( TIMER2_COMPB_vect ) {while(1) asm("NOP");} /* Timer/Counter2 Compare Match A */
ISR( TIMER2_OVF_vect ) {while(1) asm("NOP");} /* Timer/Counter2 Overflow */
ISR( TIMER1_CAPT_vect ) {while(1) asm("NOP");} /* Timer/Counter1 Capture Event */
ISR( TIMER1_COMPA_vect ) {while(1) asm("NOP");} /* Timer/Counter1 Compare Match A */
ISR( TIMER1_COMPB_vect ) {while(1) asm("NOP");} /* Timer/Counter1 Compare Match B */
ISR( TIMER1_OVF_vect ) {while(1) asm("NOP");} /* Timer/Counter1 Overflow */
ISR( TIMER0_COMPA_vect ) {while(1) asm("NOP");} /* TimerCounter0 Compare Match A */
ISR( TIMER0_COMPB_vect ) {while(1) asm("NOP");} /* TimerCounter0 Compare Match B */
ISR( TIMER0_OVF_vect ) {while(1) asm("NOP");} /* Timer/Couner0 Overflow */
ISR( SPI_STC_vect ) {while(1) asm("NOP");} /* SPI Serial Transfer Complete */
ISR( USART_RX_vect ) {while(1) asm("NOP");} /* USART Rx Complete */
ISR( USART_UDRE_vect ) {while(1) asm("NOP");} /* USART, Data Register Empty */
ISR( USART_TX_vect ) {while(1) asm("NOP");} /* USART Tx Complete */
ISR( ADC_vect ) {while(1) asm("NOP");} /* ADC Conversion Complete */
ISR( EE_READY_vect ) {while(1) asm("NOP");} /* EEPROM Ready */
ISR( ANALOG_COMP_vect ) {while(1) asm("NOP");} /* Analog Comparator */
ISR( TWI_vect ) {while(1) asm("NOP");} /* Two-wire Serial Interface */
ISR( SPM_READY_vect ) {while(1) asm("NOP");} /* Store Program Memory Read */
#endifКод: Выделить всё
ISR( INT1_vect ) {while(1) asm("NOP");} /* External Interrupt Request 1 */
ISR( TIMER1_COMPB_vect ) {while(1) asm("NOP");} /* Timer/Counter1 Compare Match B */