Einfach für den Anfänger...
Int0 Falling
Enable Int0
Enable Interrupts
Do
Print "was sonst noch läuft..." ' zum PC
WaitMs 255
Loop
End
Interrupt Int0(), Save 2
Disable Int0
Input serielle_vom_pc
Cls
Lcd serielle_vom_pc ' ausgabe auf LCD
Reset Int0
Enable Int0
End Interrupt
Lesezeichen