From: hackbard Date: Sat, 17 Jun 2006 13:02:46 +0000 (+0000) Subject: slowed down state change X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=8b908b0f3a7c3b9041987269165b41ce251331cc;p=my-code%2Fatmel.git slowed down state change --- diff --git a/beginners/test_ports_uart.asm b/beginners/test_ports_uart.asm index f870a3e..bd9c3fe 100644 --- a/beginners/test_ports_uart.asm +++ b/beginners/test_ports_uart.asm @@ -37,6 +37,12 @@ MAINLOOP: ldi r22,0 INNERLOOP: + ldi r23,0 + IILOOP: + inc r23 + cpi r23,0x40 + brne IILOOP + inc r22 cpi r22,0xff brne INNERLOOP