基本搞定,写出来共享。
if(strstr(aa,"RING")!=NULL) //检测到RING,说明有电话打进来。
{
D3LED=0;
for(m=0;m<11;m++)
{PhoneNum[m]=aa[18+m];}//来电号码
}
if(strcmp(PhoneNum,PhoneCall)==0)//新旧号码比较
{
D3LED=1;
delay_Xms(100);
phone_Answer();
clear_Buff();
}
新问题又来了,时不时死机。研究中https://bbs.elecfans.com/file://c:/documents%20and%20settings/administrator/application%20data/360se6/User%20Data/temp/mad.gifhttps://bbs.elecfans.com/file://c:/documents%20and%20settings/administrator/application%20data/360se6/User%20Data/temp/mad.gif
基本搞定,写出来共享。
if(strstr(aa,"RING")!=NULL) //检测到RING,说明有电话打进来。
{
D3LED=0;
for(m=0;m<11;m++)
{PhoneNum[m]=aa[18+m];}//来电号码
}
if(strcmp(PhoneNum,PhoneCall)==0)//新旧号码比较
{
D3LED=1;
delay_Xms(100);
phone_Answer();
clear_Buff();
}
新问题又来了,时不时死机。研究中https://bbs.elecfans.com/file://c:/documents%20and%20settings/administrator/application%20data/360se6/User%20Data/temp/mad.gifhttps://bbs.elecfans.com/file://c:/documents%20and%20settings/administrator/application%20data/360se6/User%20Data/temp/mad.gif
举报