[En-Nut-Discussion] Beep
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Wed May 9 13:17:16 CEST 2007
Hi,
> Till now I used to output a square wave using the NutSleep()
> function, but I cannot use this method because of its parameter is in
> milliseconds.
You should better use one of the spare timers of your ATMega. You can
easily directly output a PWM (1:1 duty) at a given frequency.
Take a look into the datasheet. That's not a NutOS specific function.
Bye,
Ole Reinhardt
--
kernel concepts GbR Tel: +49-271-771091-14
Inh. Faerber & Kirchner Fax: +49-271-771091-19
Sieghütter Hauptweg 48 Mobil: +49-177-7420433
D-57072 Siegen UstID: DE 205 648 898
More information about the En-Nut-Discussion
mailing list