登录
首页 » C++ » STM32 按键查询方式

STM32 按键查询方式

于 2023-08-14 发布 文件大小:747.87 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

key_up是静态变量,表示只分配一次,且只在第一次分配内存时初始化。也就是说第一次调用KEY_Scan时分配该变量并且设置为1,再次调用KEY_Scan时该变量仍保持上次函数调用后的值

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

发表评论

0 个回复

  • MATLABSOLUTION
    MATLABSOLUTION包含了偏微分方程的MATLAB数值解法以及一百个数值计算实例,有益于初学者。(MATLABSOLUTION contains the numerical solution of partial differential equations in MATLAB, as well as 100 numerical example, useful for beginners.)
    2009-11-24 17:00:34下载
    积分:1
  • ST-link相关资料资料
    说明:  使用STM32F103C8T6作为主控的ST-Link固件(ST-Link firmware using STM32F103C8T6 as master control)
    2020-06-21 18:20:02下载
    积分:1
  • MMA7455
    MMA7455 数字加速度传感器模块使用(MMA7455digital accelerometer module using)
    2012-04-19 11:36:29下载
    积分:1
  • 驱动源码
    64位驱动读写 源码 文件 纯源码 可易语言调用(64-bit Driver Read-Write Source Files)
    2019-05-20 22:43:49下载
    积分:1
  • homer
    HOMER(Hybrid Optimization Model for Electric Renewable,可再生能源互补发电优化建模)。HOMER是一个计算机模型,它简化了离网和并网对于远程的、独立的和分布式发电系统的评估选择的任务。HOMER优化和灵敏度分析算法,可以用来评估系统的经济性和技术选择的可行性,以及考虑技术成本的变化和能源资源的可用性。(HOMER (Hybrid Optimization Model for Electric Renewable, renewable energy and solar power generation optimization modeling). HOMER is a computer model that simplifies the task of off-grid and grid for remote, stand-alone and distributed generation systems to assess choice. HOMER optimization and sensitivity analysis algorithms can be used to select the feasibility of economic and technical assessment of the system, and to consider changes in the availability of technology costs and energy resources.)
    2020-10-03 15:37:41下载
    积分:1
  • jokdr
    由散点插值生成等值线,并且提供颜色选择工具,共有三种插值方法(Generating isolines from scattered interpolation and providing a color selection tool, there are three interpolation methods)
    2018-11-21 16:03:28下载
    积分:1
  • mian.c
    二维非稳态导热问题C语言程序 传热学上机实验程序。 (Two-dimensional unsteady heat conduction problems C language program)
    2010-10-31 02:21:07下载
    积分:1
  • 链表插入与删除
    创建一个单链表,其数据元素为整数,从键盘输入,输入0结束(注意0不放到链表内);   2)从键盘任意输入一个整数,在单链表中查询该数,如果单链表中已经存在这个数,就调用删除函数,删除该元素所在结点,并将单链表在删除前后的数据元素依次输出到屏幕上;   如果单链表中不存在这个数,就调用插入函数,将这个数插入到单链表尾,并将单链表在插入前后的数据元素依次输出到屏幕上。
    2023-08-24 00:15:02下载
    积分:1
  • this book is a book with the code. "Delphi 5.x real
    就是这本书的随书代码。包括《实战Delphi 5.x-分布式多层应用系统篇》,《实战Delphi 5.x-分布式Web应用系统篇》,以及《实战Delphi 5.x-高效率数据库应用系统篇》。-this book is a book with the code. "Delphi 5.x real-distributed multi-tier application system", "real Delphi 5.x-distributed Web applications chapter," and "combat Delphi 5.x-efficient database applications chapter."
    2022-02-15 12:26:24下载
    积分:1
  • 中国象棋人机博弈
    使用C语言编写中国象棋人机博弈程序,能够进行基本的人机对战,扁平化设计,UI界面美观。
    2023-04-24 08:30:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载