完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
报错too many arguments to function call,expected 0,have1
代码: key_value=key_6x6_scan(); switch (key_value) { case 0:break; case 1: mp3_play("0:/MUSIC/C2.mp3");break; case 2: mp3_play("0:/MUSIC/D2.mp3");break; case 3: mp3_play("0:/MUSIC/E2.mp3");break; case 4: mp3_play("0:/MUSIC/F2.mp3");break; case 5: mp3_play("0:/MUSIC/G2.mp3");break; case 6: mp3_play("0:/MUSIC/H2.mp3");break; case 7: mp3_play("0:/MUSIC/C3.mp3");break; case 8: mp3_play("0:/MUSIC/D3.mp3");break; case 9: mp3_play("0:/MUSIC/E3.mp3");break; case 10: mp3_play("0:/MUSIC/F3.mp3");break; case 11:mp3_play("0:/MUSIC/G3.mp3");break; case 12:mp3_play("0:/MUSIC/H3.mp3");break; case 13: mp3_play("0:/MUSIC/C4.mp3");break; case 14: mp3_play("0:/MUSIC/D4.mp3");break; case 15: mp3_play("0:/MUSIC/E4.mp3");break; case 16: mp3_play("0:/MUSIC/F4.mp3");break; case 17: mp3_play("0:/MUSIC/G4.mp3");break; case 18: mp3_play("0:/MUSIC/H4.mp3");break; case 19: mp3_play("0:/MUSIC/C5.mp3");break; case 20: mp3_play("0:/MUSIC/D5.mp3");break; case 21: mp3_play("0:/MUSIC/E5.mp3");break; case 22: mp3_play("0:/MUSIC/F5.mp3");break; case 23:mp3_play("0:/MUSIC/G5.mp3");break; case 24:mp3_play("0:/MUSIC/H5.mp3");break; case 25: mp3_play("0:/MUSIC/C5.mp3"); break;//si case 26: mp3_play("0:/MUSIC/D5.mp3"); break;//do# case 27 :mp3_play("0:/MUSIC/E5.mp3"); break;//re# case 28 : mp3_play("0:/MUSIC/F5.mp3"); break;//fa# case 29 : mp3_play("0:/MUSIC/G5.mp3"); break;//so# case 30 :mp3_play("0:/MUSIC/A6.mp3"); break;//la# case 31 : mp3_play("0:/MUSIC/B6.mp3"); break;//do# case 32 : mp3_play("0:/MUSIC/C6.mp3"); break;//re# }
|
|
相关推荐
2个回答
|
|
函数内参数个数不对,检查一下 mp3_play这个函数
|
|
|
|
看的头大,用的软件不一样啊!!!!
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
飞凌嵌入式ElfBoard ELF 1板卡-CAN编程示例之开发板测试
769 浏览 0 评论
该问题是用APP给芯海科技的CST92F25芯片发指令是出现的
2583 浏览 1 评论
849 浏览 0 评论
1641 浏览 1 评论
2551 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 14:26 , Processed in 0.452661 second(s), Total 46, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号