Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Problem with getting signal

2008-02-15 by Stefan Wimmer

--- In AVR-Chat@yahoogroups.com, "khahramon0786" <khahramon0786@...> 
wrote:
>
> // i need 40Khz signal in PORTA.0, that's way i took 80kHz interrupt 
> TCNT1=0x10000-(xtal/1/(2*hz));

Shouldn't that be  TCNT1=0x10000-(xtal/(1/(2*hz))); ??

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.