报错too many arguments to func
tion 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#
}
-
一周热门 更多>