After reading all documents and tutorials still need help around 19KHz sound generation
I have Atmega8 (can be Atmega168) and flow is next
It should generate 500ms quiet and 1000ms of sound
rising edge must be under 100ms
Can someone help me with this (I'm not so good with timers) that is main problem
Hi
you can use the CTC mode Of Avr Timers To generate a Continual 19KHz Square Wave
then you can Control This Signal By an And Gate in Output of the microcontroller
or you can control this signal by Enable or Disabling of Wave Generator Output Enable Bit
Good luck