Gast
#100471
Irgendwie bekomm ich beim compilieren immer die meldung "error: two or
more data types in declaration of `__vector_11'" ... hab schon viel
versucht und ich weis nicht wo mein fehler liegen soll ... hab den code
nur hier so leicht minimiert ... mfg alexthbe
#include <inttypes.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
#include <avr/io.h>
void INTERRUPT(SIG_OVERFLOW2)
{
sei();
}
void main (void)
{
TCCR2 = 0x05;
ASSR = 0x08;
timer_enable_int (_BV (TOIE2));
sei();
for(;;);
}