No.44097 作者:chenqiang 邮件:chenqiangqiang@163.com ID:6250 登陆:22次 文章数:6篇 最后登陆IP:58.211.130.125 最后登陆:2009/9/11 9:14:07 注册:2001/10/3 10:51:00 财富:49 发帖时间:2003/10/31 14:38:54 发贴者IP:218.17.8.132 标题:chenqiang:c51 时间显示问题 摘要:No.44097c51 时间显示问题 [fly]da(h/10+0x30);//不知这两句这样写可显示时间为何?请教! da(h%10+0x30); /* 定时器0中断 */ uchar s,m,h; uint s001; void int_t0(void) interrupt 1 { TL0+=48;TH0=0xf8; time++; if ((++s001)> =1000) { s001=0; if ((++s)> 59) { s=0; if ((++m)> 59) { ......
>>返回讨论的主题
|
老古网执行:16毫秒 最大:54049毫秒 查询6次
|
|