注册 登录
电子工程世界-论坛 返回首页 EEWORLD首页 频道 EE大学堂 下载中心 Datasheet 专题
yangsuhe2013的个人空间 https://home.eeworld.com.cn/space-uid-475095.html [收藏] [复制] [分享] [RSS]
日志

同样的函数多嵌套了一层就不能运行了

已有 990 次阅读2013-7-19 16:50

while(1)
{
       Load_Sys_ICO3( );
//    AI_LoadPicFile(\"0:/sg.bmp\",34,30,134,60);
//         AI_LoadPicFile(\"0:/qu.bmp\",168,30,223,60);
//         AI_LoadPicFile(\"0:/qd.bmp\",257,30,312,60);
//         AI_LoadPicFile(\"0:/zg.bmp\",346,30,446,60);
//         AI_LoadPicFile(\"0:/ps.bmp\",34,90,134,120);
//         AI_LoadPicFile(\"0:/p0.bmp\",168,90,223,120);
//         AI_LoadPicFile(\"0:/p1.bmp\",257,90,312,120);
//         AI_LoadPicFile(\"0:/h6.bmp\",34,150,134,180);
//         AI_LoadPicFile(\"0:/lo.bmp\",168,150,223,180);
//         AI_LoadPicFile(\"0:/lc.bmp\",257,150,312,180);
//         AI_LoadPicFile(\"0:/fz.bmp\",34,210,134,240);
//         AI_LoadPicFile(\"0:/fo.bmp\",168,210,223,240);
//         AI_LoadPicFile(\"0:/fc.bmp\",257,210,312,240);
//         AI_LoadPicFile(\"0:/back.bmp\",356,150,446,240);
//      AI_LoadPicFile(\"0:/950.bmp\",346,90,446,120);
}

void Load_Sys_ICO3(void)
{
        AI_LoadPicFile(\"0:/sg.bmp\",34,30,134,60);
        AI_LoadPicFile(\"0:/qu.bmp\",168,30,223,60);
        AI_LoadPicFile(\"0:/qd.bmp\",257,30,312,60);
        AI_LoadPicFile(\"0:/zg.bmp\",346,30,446,60);
        AI_LoadPicFile(\"0:/ps.bmp\",34,90,134,120);
        AI_LoadPicFile(\"0:/p0.bmp\",168,90,223,120);
        AI_LoadPicFile(\"0:/p1.bmp\",257,90,312,120);
        AI_LoadPicFile(\"0:/h6.bmp\",34,150,134,180);
        AI_LoadPicFile(\"0:/lo.bmp\",168,150,223,180);
        AI_LoadPicFile(\"0:/lc.bmp\",257,150,312,180);
        AI_LoadPicFile(\"0:/fz.bmp\",34,210,134,240);
        AI_LoadPicFile(\"0:/fo.bmp\",168,210,223,240);
        AI_LoadPicFile(\"0:/fc.bmp\",257,210,312,240);
        AI_LoadPicFile(\"0:/back.bmp\",356,150,446,240);
       AI_LoadPicFile(\"0:/950.bmp\",346,90,446,120);
}

while(1)是在main里面,运行 Load_Sys_ICO3( );程序就会卡死,但是单独运行里面每一个函数就不会有问题,望高人解答原因

本文来自论坛,点击查看完整帖子内容。

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

热门文章