# 51单片机蜂鸣器操作

#include <reg52.h>

sbit beep=P2^3;
void main()
{
int a;
while(1)
{
a=66666;
beep=0;
while(a--);
a=66666;
beep=1;
while(a--);
}
}

0

## 11 thoughts on “51单片机蜂鸣器操作”

1. Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.

0
2. Article writing is also a excitement, if you know after that you can write
or else it is complex to write.

0
3. I really like it when people come together and share opinions.
Great website, keep it up!

0
4. Undeniably imagine that that you stated. Your favorite reason appeared to be at the
internet the easiest factor to have in mind of. I say to you, I definitely get annoyed even as other people think about concerns that they just do not realize about.
You controlled to hit the nail upon the highest and also defined
out the whole thing without having side effect ,
people could take a signal. Will probably be back
to get more. Thanks

0
5. Good way of describing, and nice post to get information concerning
my presentation topic, which i am going to present in academy.

0
6. Good day! I know this is kinda off topic but I was wondering if you knew where I
could get a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having problems finding
one? Thanks a lot!

0
7. hello!,I love your writing very a lot! percentage
I need a specialist on this area to resolve my problem.
May be that’s you! Looking ahead to look you.

0
8. Pretty nice post. I simply stumbled upon your blog and wanted to say that
I have really enjoyed browsing your blog posts.
In any case I’ll be subscribing for your feed and
I am hoping you write again very soon!

0
9. Thanks very nice blog!

0
10. What’s Happening i am new to this, I stumbled upon this I’ve discovered It positively useful and it has aided me out loads.
I’m hoping to give a contribution & aid other users like its aided me.
Good job.

0
11. It’s hard to come by knowledgeable people for this subject,
but you sound like you know what you’re talking