i am a noob and learning 8051 coding. i want to know how can i use PWM to write a speaker which can emit diff sound (do,re,mi,etc.) by using 2 pins only. thanks.
can you provide a example code for me please?
Start Here:
www.8052.com/.../120112 - links to see the so-called "bible" for the 8051
See also: http://www.8052.com/tutorial
And: http://www.keil.com/books/8051books.asp
And, of course, the Datasheet and the Manufacturer's website for the particular chip that you are using...
if possible, i want a sample source code. thanks.
View all questions in Keil forum