projects
/
my-code
/
atmel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fading lieghts, but strange behaviour with led_b
[my-code/atmel.git]
/
beginners
/
test_int.asm
diff --git
a/beginners/test_int.asm
b/beginners/test_int.asm
index
ba2317d
..
7c00fac
100644
(file)
--- a/
beginners/test_int.asm
+++ b/
beginners/test_int.asm
@@
-93,6
+93,11
@@
out TIMSK, r16
; global interrupts enable
sei
+; allow sleep mode
+ldi r16, (1<<SE)
+out MCUCR, r16
+
; main loop
MAIN:
+sleep
rjmp MAIN