完善资料让更多小伙伴认识你,还能领取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这个函数
|
|
|
|
看的头大,用的软件不一样啊!!!!
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
如何配置Linux操作系统设备树让我的开发板可以将板子上的GPIO接口用作 I2S输出??
817 浏览 1 评论
1082 浏览 0 评论
1930 浏览 0 评论
1991 浏览 2 评论
1100 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-15 09:55 , Processed in 0.627514 second(s), Total 76, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191