登录
首页 » Visual C++ » clock

clock

于 2012-12-24 发布 文件大小:33KB
0 202
下载积分: 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 个回复

  • 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
  • AN1004
    This article covers the so-called "min-cost flow" problem, which has many applications for both TopCoder competitors and professional programmers. The article is targeted to readers who are not familiar with the subject, with a focus more on providing a general understanding of the ideas involved rather than heavy theory or technical details for a more in-depth look at this topic, check out the references at the end of this article, in particular [1].
    2009-11-30 10:18:10下载
    积分:1
  • keyboard_scanf
    实现键盘扫描0-F,可以用来检测键盘的输入(The realization of the keyboard scan 0-F, can be used to detect keyboard input)
    2009-07-17 21:59:20下载
    积分:1
  • GDIWindMill
    通过各种的输入的实现不同的功能,里面包括了好多种通过输入实现功能的程序(By implementing a variety of different input functions, which include a good variety of functions by entering the program)
    2014-05-13 16:23:09下载
    积分:1
  • xl2000user
    单片机汇编程序,来自xll200user,可以供初学者使用(MCU assembler)
    2010-11-04 21:14:16下载
    积分:1
  • 2
    说明:  形参只是形式参数,并不参与实际运算,但是形参在同一个函数里要相同,实参是实际参数,参与实际的运算, 有几个形参就对应有几个实参,形参在自定义函数里,实参在主函数里 (Formals only formal parameter is not involved in the actual operation, but parameter in a function to be the same, the argument is the actual parameters involved in the actual operation, several shape parameters corresponding to several arguments, parameter in Custom function, the argument in the main function)
    2012-10-01 22:42:31下载
    积分:1
  • muZHUCE
    奇迹内部注册小工具,绝对实用以绝版~!!!!!!!!!!(Miracle of internal register gadget is absolutely practical in order to print ~!)
    2009-09-05 16:02:54下载
    积分:1
  • kongjianhoufangjiaohui
    空间后方交会c++源代码,欢迎广大同胞下载(Space resection c++ source code, welcome compatriots download)
    2013-09-04 19:36:39下载
    积分:1
  • 基于单片机的空气湿度检测系统设计与实现
    基于MSP430G2553的湿度 基于单片机的空气湿度检测系统 设计与实现(Air humidity detection system based on MSP430G2553 based on single chip microcomputer Design and Implementation)
    2018-01-02 21:01:27下载
    积分: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
  • 696518资源总数
  • 105877会员总数
  • 14今日下载