View Single Post
  #12   Report Post  
Jasen Betts
 
Posts: n/a
Default I/O-ing Frequencies on ATMega8

["Followup-To:" header set to alt.electronics.]
On 2005-11-08, forTe wrote:

So that I make sure, I should use PWM for this task correct?


it'll give you nice stable square wave without your code needing to
explicitly switch the pin on and off for each transition.

It may be possible to set up a second pwm for the inverted signal, or it may
be easier to just use an inverter.

Bye.
Jasen