.include "m16def.inc" .def temp = r16 .def delay1 =r17 .def delay2 =r18 .equ CLOCK = 1000000 .equ BAUD = 9600 .equ UBRRVAL = CLOCK/(BAUD*16)-1 ldi temp,0xFF out DDRB,temp ; Stackpointer initialisieren ldi temp, LOW(RAMEND) out SPL, temp ldi temp, HIGH(RAMEND) out SPH, temp ; Baudrate einstellen ldi temp, LOW(UBRRVAL) out UBRRL, temp ldi temp, HIGH(UBRRVAL) out UBRRH, temp ; Frame-Format: 8 Bit ldi temp, (1<