void beep1()
{
unsigned char i ;
for (i=0 ;i<100 ;i++)
{
delay0(4) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(100) ;
for (i=0 ;i<100 ;i++)
{
delay0(4) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(100) ;
for (i=0 ;i<100 ;i++)
{
delay0(4) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(250) ;
}
void beep2()
{
unsigned char i ;
for (i=0 ;i<100 ;i++)
{
delay0(5) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(250) ;
}
void beep3()
{
unsigned char i ;
for (i=0 ;i<100 ;i++)
{
delay0(10) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(400) ;
for (i=0 ;i<100 ;i++)
{
delay0(10) ;
BEEP=!BEEP ;
}
BEEP=1 ;
delay1(250) ;
}

评论

评论关闭. | HiCasting - 铸造手机受话器完美声音