void Key_Scan1()
{
if(flag==1)
{
PL+=10; //按键频率加5
if(PL>10000) PL=50;
display(PL,ZKB);
}
if(flag==2) //状态2下对占空比进行调整
{
ZKB+=5; //按键占空比加5
if(ZKB>99) ZKB=5;
}
if(flag==3) //状态2下对占空比进行调整
{
flag=0;
display(PL,ZKB);
}
display(PL,ZKB);
}
'display': requires ANSI-style prototype
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- technologist_30 2021-05-23 17:41关注
出现这个问题是因为你在使用display之前没有对它进行声明。有两种方法解决:1、在使用display函数前进行声明。2、把display函数定义放在使用display函数之前。
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 3无用
悬赏问题
- ¥15 我的数据无法存进链表里
- ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
- ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
- ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
- ¥15 如何在炒股软件中,爬到我想看的日k线
- ¥15 seatunnel 怎么配置Elasticsearch
- ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
- ¥15 (标签-MATLAB|关键词-多址)
- ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
- ¥500 52810做蓝牙接受端