登录
首页 » c » 嵌入式单片机 利用无符号类型巧妙设计定时函数

嵌入式单片机 利用无符号类型巧妙设计定时函数

于 2022-03-23 发布 文件大小:2.17 kB
0 126
下载积分: 2 下载次数: 1

代码说明:

开启一个1ms定时器中断(此定时器可与其他模块共享),使用无符号数据类型循环计时,巧妙的按需求设计定时模块

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

发表评论

0 个回复

  • AGV控制程序
    AGV是(Automated Guided Vehicle)的缩写,意即“自动导引运输车”,是指装备有电磁或光学等自动导引装置,它能够沿规定的导引路径行驶,具有安全保护以及各种移载功能的运输车,AGV属于轮式移动机器人(WMR――Wheeled Mobile Robot)的范畴。
    2023-06-04 18:40:04下载
    积分:1
  • Wavelet-transform-image
    图像分割处理的小波变换算法源代码,使用vc++(Wavelet transform image segmentation algorithm source code vc++)
    2012-03-25 13:55:21下载
    积分:1
  • Delphi interface programming skills, writing Word documents, a large number of i...
    Delphi界面编程技巧,Word文档书写,提供大量界面编程方面的技巧-Delphi interface programming skills, writing Word documents, a large number of interface programming skills
    2022-10-12 09:10:03下载
    积分:1
  • 3DRoadVir
    3D的OpenGL程序 3D的虚拟化道路 (3DRoadVir programming by VC++)
    2020-09-03 16:58:08下载
    积分:1
  • Chap07
    《3D游戏编程》随书光盘 第7章 外部地形处理:三维世界的处理技巧, 有详细源代码, 包括3D地形生成技巧, 控制摄像机实现地形上的移动,裁剪多余多边形,给引擎减重,四叉树:有效管理较大地形的方法, 四叉树的剔除:速度优化技巧, LOD:使用LOD进行地形处理,防止龟裂:龟裂问题的解决。(" 3D Game Programming" book with CD-ROM Chapter 7 deal with the external landscape: the world of three-dimensional treatment techniques, there is a detailed source code, including 3D terrain generation techniques, to control the terrain on implementation of the camera movement, cutting redundant polygon, to the engine weight, Quadtree: the effective management of a larger method of terrain, the four-tree removed: the speed of optimization techniques, LOD: the use of LOD terrain to deal with and prevent cracking: cracking problem.)
    2009-03-28 16:24:12下载
    积分:1
  • ARHS/IMU的互补滤波算法
    应用在四翼飞行器上的Mahony滤波器,可以融合9轴传感器数据。最后得出的结果是一个四元数,本代码自带了将四元数转换为矩阵的函数,也可以转换为欧拉角。
    2022-03-02 19:11:09下载
    积分:1
  • VCPP-create-a-application-window
    VC++语言创建一个普通的应用程序窗口.为了使PlaySound函数能正常使用,编译前应做以下设置:单击Project->Setting->Link选项卡,在Category中选中General,然后在Object/Library Modules文本框中,我们看到有很多.lib的库文件,在其最后添加代码" winmm.lib"(windows多媒体库)后,单击OK。(VC++ language to create a common application window in order to make proper use PlaySound function, should be done before compiling the following settings: Click Project-> Setting-> Link tab, select General in the Category, and then in the Object/Library Modules text box, we see a lot. lib library file, add the code in its final " winmm.lib" (windows multimedia library), click OK.)
    2013-11-24 14:23:38下载
    积分:1
  • LCD12864 PIC16f877a单片机控制的12864显示程序C语言
    LCD12864    PIC16f877a单片机控制的12864显示程序C语言    很详细
    2023-08-13 00:35:02下载
    积分:1
  • STM32超声波测距
    说明:  基于stm32f103系列的超声波测距。 误差小于3毫米。亲测可用(Ultrasonic ranging based on STM32F103 series. The error is less than 3 mm. Availability of pro-test)
    2020-06-19 19:00:01下载
    积分:1
  • AE交通网络分析
    资源描述 程序包括查找服务区分析、最近设施点分析、OD成本矩阵分析、多路径配送分析、位置分配分析等。
    2022-05-12 15:22:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载