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