登录
首页 » Visual C++ » clock

clock

于 2012-12-24 发布 文件大小:33KB
0 271
下载积分: 1 下载次数: 2

代码说明:

  定时器每100us中断一次,在中断服务程序中,对中断次数进行计数,100us计数10000次就是1秒。然后再对秒计数得到分和小时值,并送入显示缓冲区。(Timer interrupt every 100us, in the interrupt service routine, the interrupt number of counts, 100us count is 1 second 10000. Then seconds count the minutes and hours values 椠渀琀漀 the display buffer.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • oi
    说明:  逻辑电平接口设计规范逻辑电平接口设计规范(Logic level interface design specification Logic level interface design specification )
    2013-11-06 11:15:37下载
    积分:1
  • huffman
    哈夫曼编码进行信息通讯可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码;在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统,试为这样的信息收发站写一个哈夫曼编译码系统。 一个完整的系统应具有以下功能: (1) (1) I: 初始化。从终端读入字符集大小 n ,及 n 个字符和 n 个权值,建立哈夫曼树,并将其存于文件hfmtree中。 (2) C: 编码。利用已建好的哈夫曼树(如不在内存,则从文件hfmtree中读入),对文件tobetrans中的正文进行编码,然后将结果存入文件codefile中。 (3) D: 译码。利用已建好的哈夫曼树将文件codefile中的代码进行译码,结果存入文件textfile中。 (4) P: 打印代码文件。将文件codefi1e以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件codeprint中。 (5) T:打印哈夫曼树。将已在内存中的哈夫曼树以直观的方式(树或凹凸表形式)显示在屏幕上,同时将此字符形式的哈夫曼树写入文件treeprint中。 (利用哈夫曼编码进行信息通讯可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码;在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统,试为这样的信息收发站写一个哈夫曼编译码系统。 一个完整的系统应具有以下功能: (1) (1) I: 初始化。从终端读入字符集大小 n ,及 n 个字符和 n 个权值,建立哈夫曼树,并将其存于文件hfmtree中。 (2) C: 编码。利用已建好的哈夫曼树(如不在内存,则从文件hfmtree中读入),对文件tobetrans中的正文进行编码,然后将结果存入文件codefile中。 (3) D: 译码。利用已建好的哈夫曼树将文件codefile中的代码进行译码,结果存入文件textfile中。 (4) P: 打印代码文件。将文件codefi1e以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件codeprint中。 (5) T:打印哈夫曼树。将已在内存中的哈夫曼树以直观的方式(树或凹凸表形式)显示在屏幕上,同时将此字符形式的哈夫曼树写入文件treeprint中。 )
    2010-03-09 12:14:21下载
    积分:1
  • Against-Hacker
    黑客反汇编揭密(中文版) 不适合初学者,适合有一定基础的人(Hackers Disassembly Revealed (Chinese version) is not suitable for beginners, suitable for people who have a certain foundation)
    2012-11-30 22:07:42下载
    积分:1
  • Clx
    此为笔者整理的大学C语言常考程序题,供大家参考学习(C language)
    2017-05-05 13:34:19下载
    积分:1
  • liushuideng
    真正的流水灯:(1)第1,3,5,7个灯半亮,其余的全亮。 (2)第1个亮1/8,第2个亮2/8,第3个亮3/8,第4个亮4/8,第5个亮5/8,第6个亮6/8,第7个亮7/8,第8个全亮。 (3)来点小难的,所有的灯逐渐从暗到全亮,再由全亮到暗。 (4)最难的:8个灯从第一个开始依次渐亮,直到最后一个。再从最后一个起渐暗,直到第一个。如此循环往复。这才是真正的流水灯。 (The real light of the water: (1), paragraphs 1, 3, 5, 7 semi-bright lights, the rest of the bright. (2) a bright 1/8, 2 bright 2/8, 3 bright 3/8, 4 bright 4/8, 5 bright 5/8, 6 bright 6/8 7 bright 7/8, 8 full-bright. (3) to a little difficult, all the lights gradually from dark to full brightness, and then from full bright to dark. (4) the hardest: 8 light from the first start in turn gradually brighter, until the last one. From the last one from the dark, until the first. So on ad infinitum. This is true of light water.)
    2012-05-19 12:03:12下载
    积分:1
  • 847457336
    VB汇编指令操作类(CALL注入)源程序,有需要的就下载吧。(VB class assembly instruction (CALL injection) source, there is a need to download it.)
    2013-08-17 01:06:08下载
    积分:1
  • jiansheyinhan
    一个银行的提款程序。提款机的程序编译,提款机如何操作!(A bank ATM procedures. Teller machines to compile the program, how to operate teller machine!)
    2008-06-26 13:06:32下载
    积分:1
  • weiji
    微机课程及详细PPT,及各个实验如汇编程序、中断系统等程序,及个实验教材(Computer programs and PPT, and various experiments such as assembler, interrupt system and procedures, and experimental teaching materials)
    2013-05-13 22:02:13下载
    积分:1
  • wanianli
    万年历的功能 实现多种功能 希望大家喜欢(Calendar features a variety of functions hope you like)
    2011-06-21 22:38:26下载
    积分:1
  • keyboard
    实现的模拟键盘代码,模拟ps2协议,可以与计算机相连实现键盘的功能,在keil c下开发的。-89s51 achieved through keyboard simulation code, simulation ps2 agreement with the computer keyboard connected to the functions of the c Keil under development(Realize analog keyboard code, analog ps2 agreement, can realize the computer connected to the keyboard functions in keil c developed.-89s51 achieved through keyboard simulation code, simulation ps2 agreement with the computer keyboard connected to the functions of the c Keil under development)
    2007-11-06 13:15:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载