2842687945 发表于 2014-9-12 21:21
你是想把这两个程序合起来运行吗
2842687945 发表于 2014-9-12 21:21
你是想把这两个程序合起来运行吗
2842687945 发表于 2014-9-12 21:21
你是想把这两个程序合起来运行吗
通信-冷 发表于 2014-9-12 22:28
不是 第二个就是合起来的那个 就运行不起来了 我不知道哪儿错了 无语
abeimao 发表于 2014-9-12 22:46
time() interrupt 3 你看是不是3应当改为1呀。。ET0=1;TR0=1;应当是定时器中断T0
相应设置,定时器中断T0 ...
2842687945 发表于 2014-9-12 22:57
void delay(uint);你这个是函数声明吗?错啦哦,这是一个错误
2842687945 发表于 2014-9-12 23:00
void time() interrupt 3这个也错了?void time() interrupt 1这样才对(定时器0是第1种中断源)
2842687945 发表于 2014-9-12 23:13
你想实现什么功能
通信-冷 发表于 2014-9-14 12:05
这个声明哪里错了吗 请指导
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |