avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] mega32 timer 2 confused


From: Thomas D. Dean
Subject: Re: [avr-chat] mega32 timer 2 confused
Date: Wed, 07 Mar 2012 11:41:05 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120228 Thunderbird/10.0.2

On 03/07/12 10:37, Klaus Rudolph wrote:

To see the OC effect on PORTD, set COM21=0, COM20=1 and monitor PORTD[7].

Change the ISR's to toggle different bits.

,,,
PORTB ^= 0x04
...
PORTB ^= 0x08
...

Likewise, when comparing OCF2 and TOV2, set different bits in PORTB


Tom Dean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]