|
Я не могу опередильть прерывание. На стороку interrupt [TIM... при компиляции в IAR-е 2.28а выдаться така ошибка
Error[Pe077]: this declaration has not storage class or typespecifier
Error[Pe077]: expected a ";".
Как сделать правильно?
#include "io8515.h"
#include "comp_a90.h"
interrupt [TIMER1_OVF1_vect] void TIMER1_OVF1_interrupt(void)
void main(void)
{
DDRB = 0xff;
PORTB = 0XFF;
_SEI();
while (1)
{
if (PIND != 0)
{
}
}
}
E-mail: info@telesys.ru