让蜂鸣器响很简单,给蜂鸣器加一个低电平,这样电流通过,蜂鸣器就会响。
代码很简单,应该很容易懂的!
#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
Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.
Article writing is also a excitement, if you know after that you can write
or else it is complex to write.
I really like it when people come together and share opinions.
Great website, keep it up!
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
Good way of describing, and nice post to get information concerning
my presentation topic, which i am going to present in academy.
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!
hello!,I love your writing very a lot! percentage
we keep in touch extra about your article on AOL?
I need a specialist on this area to resolve my problem.
May be that’s you! Looking ahead to look you.
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!
Thanks very nice blog!
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.
It’s hard to come by knowledgeable people for this subject,
but you sound like you know what you’re talking
about! Thanks