2019-07-31 18:36发布
116910646 发表于 2014-12-25 15:01 能帮修改下么
qq4988 发表于 2014-12-25 15:01 那就是改好的
116910646 发表于 2014-12-25 15:07 好吧 你知道为什么 我用IAR 生成 HEX 文件为什么只有 1KB么
最多设置5个标签!
#include "io430.h"
#include "io430x14x.h"
void init (void);//初始化
void yalichuanganqiinit();
void yuchuliinit();
void chengzhongjijiaiinit();
void Jianpaninit();
void shumaguanxianshiinit ();
void A/D zhuanhuan();
void BCDmazhuanhuan();
void qingchu();
void qupi();
void leiji();
void duquzhongliang();
void duqudanjia();
void jisuanjine();
void jianpanfenxi();
void xianshizhongliang();
void xianshidanjia();
void xianshijine();
void yalichuanganqiinit()
{
}
void yuchuliinit()
{
}
void chengzhongjijiaiinit()
{
}
void Jianpaninit()
{
}
void shumaguanxianshiinit ()
{
}
void A/Dzhuanhuan()
{
}
void BCDmazhuanhuan()
{
}
void qingchu()
{
}
void qupi()
{
}
void leiji()
{
}
void duquzhongliang()
{
}
void duqudanjia()
{
}
void jisuanjine()
{
}
void jianpanfenxi()
{
}
void xianshizhongliang()
{
}
Void xianshidanjia()
{
}
void xianshijine()
{
}
void main()
{
init();
while(1)
{
yalichuanganqi ();
yuchuli ();
chengzhongjijia();
Jianpan();
shumaguanxianshi ();
}
}
void yalichuanganqi ()
{
A/Dzhuanhuan();
BCDmazhuanhuan();
}
void yuchuli ()
{
qingchu();
qupi();
leiji();
}
void chengzhongjijia()
{
duquzhongliang();
duqudanjia();
jisuanjine();
}
void Jianpan()
{
jianpanfenxi();
}
void shumaguanxianshi ()
{
xianshizhongliang();
xianshidanjia();
xianshijine();
}
#include "io430x14x.h"
void init (void);//初始化
void yalichuanganqiinit(void);
void yuchuliinit();
void chengzhongjijiaiinit();
void Jianpaninit();
void shumaguanxianshiinit();
void ADzhuanhuan();
void BCDmazhuanhuan();
void qingchu();
void qupi();
void leiji();
void duquzhongliang();
void duqudanjia();
void jisuanjine();
void jianpanfenxi();
void xianshizhongliang();
void xianshidanjia();
void xianshijine();
void shumaguanxianshi();
void Jianpan();
void yalichuanganqi();
void yuchuli();
void chengzhongjijia();
void yalichuanganqiinit()
{
}
void yuchuliinit()
{
}
void chengzhongjijiaiinit()
{
}
void Jianpaninit()
{
}
void shumaguanxianshiinit()
{
}
void ADzhuanhuan()
{
}
void BCDmazhuanhuan()
{
}
void qingchu()
{
}
void qupi()
{
}
void leiji()
{
}
void duquzhongliang()
{
}
void duqudanjia()
{
}
void jisuanjine()
{
}
void jianpanfenxi()
{
}
void xianshizhongliang()
{
}
void xianshidanjia()
{
}
void xianshijine()
{
}
void main()
{
// init();
while(1)
{
yalichuanganqi();
yuchuli();
chengzhongjijia();
Jianpan();
shumaguanxianshi();
}
}
void yalichuanganqi()
{
ADzhuanhuan();
BCDmazhuanhuan();
}
void yuchuli()
{
qingchu();
qupi();
leiji();
}
void chengzhongjijia()
{
duquzhongliang();
duqudanjia();
jisuanjine();
}
void Jianpan()
{
jianpanfenxi();
}
void shumaguanxianshi()
{
xianshizhongliang();
xianshidanjia();
xianshijine();
}
全是语法错误
那就是改好的
好吧
你知道为什么 我用IAR 生成 HEX 文件为什么只有 1KB么
你这里面只是声明一个程序,并没有在里面写相应的代码啊,HEX文件小也是理所应当的
一周热门 更多>