;"Chip für super simple Funktion" ;Tiny13 @ 128KHz ; .include "tn13def.inc" .def temp = r16 .equ inA = PB1 ;(INT0 Pin) .equ inB = PB0 .equ outA = PB4 .equ outB = PB3 .org 0x0000 rjmp init ; Init .org INT0addr rjmp int0_irq ; INT0 IRQ init: ;setup Stack ldi temp, LOW(RAMEND) out SPL, temp ;setup Port ldi temp, 1< Wenn inA ; lowToHigh dann outA high und outB 3 mal high - low mit 300ms. main: in temp, PINB andi temp, 1<