Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/04/01 05:23
Read: times


 
#14716 - RE: operatind a buzzer
In my case I'm using a piezo buzzer that needs a waveform to drive it.
I'm receiving a good sound in around 4KHz. So, 4KHz is 250uSec and for testing I write a endless loop:
while(1) {
P3^2=1;
nop(230);
P3^2=0;
nop(230);
}
This code is not good! I want to control the beeps - length/period and etc.
Please advice.

List of 6 messages in thread
TopicAuthorDate
operatind a buzzer            01/01/70 00:00      
RE: operatind a buzzer            01/01/70 00:00      
RE: operatind a buzzer            01/01/70 00:00      
RE: operatind a buzzer            01/01/70 00:00      
RE: operatind a buzzer            01/01/70 00:00      
RE: operatind a buzzer            01/01/70 00:00      

Back to Subject List