Home › Forums › Microcontrollers › PIC Microcontroller › How to generate TONES with a microcontroller? › Re: How to generate TONES with a microcontroller?
February 27, 2013 at 10:17 pm
#7387
Ligo George
Keymaster
Connect a pin of the microcontroller to a piezoelectric speaker or an ordinary speaker (voltage and current ratings should be considered while connecting an ordinary speaker). Then you can generate a tone of particular frequency by making the pin high and low in that frequency.
MikroC Pro for PIC Microcontrollers provides built in library routines for tone generation…………