X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=monolyzer%2Ftimer.asm;h=91cfba80d6a885ec92b39120208d92aff22eb111;hb=f9e6ded1910b07f37d30e24c69ac6c9bf5438178;hp=2f14b6999ed77ccf72d92bf7c943a344acc3ae34;hpb=1117f788c441bc3d8caf90e5fb883e11696e1757;p=my-code%2Fatmel.git diff --git a/monolyzer/timer.asm b/monolyzer/timer.asm index 2f14b69..91cfba8 100644 --- a/monolyzer/timer.asm +++ b/monolyzer/timer.asm @@ -2,9 +2,30 @@ TIMER1_INIT: - ; clock select, prescaler 8 - ldi tmp1,0x02 + ; clock select, prescaler 64 + in tmp1,TCCR1B + cbr tmp1,(1<