Gast
#264564
Folgendes Programm (ATMEGA128): #include <AVR/io.h> #include <AVR/Signal.h> #include <AVR/Interrupt.h> int main(void) { DDRB=0xFF; sei(); INTERRUPTS richtig setzen,etc; } SIGNAL (SIG_INTERRUPT0) { PORTB=0xEF; } SOBALD ich den Interrupt drücke sollte er mir dauerhaft den PORTB auf 0xEF setzen oder??MAcht er aber nur wenn ich den Taster(Interrupt0) betätige. Ist das normal bei den AVR´s??