登录
首页 » c » 关于单片机的多模式工作

关于单片机的多模式工作

于 2022-06-19 发布 文件大小:1.44 kB
0 143
下载积分: 2 下载次数: 1

代码说明:

要求:主要考察流水灯和矩阵键盘 1. 上电无现象,按除 0 键外的其他键无变化。(5 分) 2. 按 0 键解锁,启动流水灯以 10ms 加速度加速流动(有加速趋势即可),解锁成功。 (15 分) 3. 此时按键 1~8 无现象,按 a 键进入 A 模式,按 b 键进入 B 模式,按键 c 进入 C 模式。 (5 分) A 模式,启动流水灯,按键 1~8 中的任意一个键数码管依次变更,同时当按键 1 时流水灯 不流过第一个,再次按键 2 时流水灯不流过第二个,以此类推。(20 分) B 模式,启动流水灯,流水灯间隔 300ms,按 1~8 中的任意一个键数码管依次变更,按下 1 时,一个灯流动;按下 2 时两个流动,以此类推。(20 分) C 模式,8 个灯全亮,按 1~8 中的任意一个键数码管依次变更,控制发光二极管的亮度。 (20 分) 4. 整个过程 A B C 三个模式可以互相切换。(15 分) 注:(详见视频,矩阵键盘解锁和流水灯两个方面如果不能同时实现,分别实现也可以酌情 给分) 0 1 2 3 4 5 6 7 8 a b c

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

发表评论

0 个回复

  • hmi组态工具
    HMI组态工具,可用作示例代码,简单易学,适用于新手,。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    2022-05-22 21:17:23下载
    积分:1
  • surfing
    只是一个公司设备管理系统。里面实现了设备的查询、修改、删除和保存等功能。(Equipment management system is just a company. Which implements the device access, modify, delete and save functions.)
    2010-12-26 16:05:38下载
    积分:1
  • oofemvs2010-20
    oofem在vs2010下的sln文件,文件路径和.h以及.c文件的添加已经做好(oofem under the vs2010 sln file, the file paths and. h and. c file is ready to add)
    2011-02-14 16:43:07下载
    积分:1
  • Talbot
    包含两个文件,一个是菲涅尔衍射子函数。另一个为生成一个光栅,通过菲涅尔衍射计算其泰伯距离处的像,观察泰伯效应(Contains two files, one is the Fresnel diffraction Functions. Another to generate a grating, which is calculated as the Talbot distance by Fresnel diffraction effects outlook 察泰伯)
    2015-04-13 19:02:07下载
    积分:1
  • 学生分数分ABCDEF级
    实现读取excel 文件,处理数据分级,然后回写到数据库中
    2022-05-28 06:44:57下载
    积分:1
  • d2bot-2019_06_17_AutoSmurf
    d2bot适用于官网,私服好像不能用提示试图访问无效的地址。(D2bot is suitable for bn. sf do not seem to be able to use prompts to attempt to access invalid addresses)
    2020-06-19 22:40:02下载
    积分:1
  • C#自定义按钮控件
    源代码是用C#写的按钮控件,控件做的比较美观,当鼠标进入进出的时候会改变控件的背景颜色图片,很美观。
    2023-05-03 17:00:02下载
    积分:1
  • hunhebianma
     VC + + 与MATLAB 混合编程,可以将VC 优秀的可视化编程能力和MATLAB 强大的计算能力结合起来。 分析了C 语言与MATLAB7. x 在接口的特点,详细介绍了VC + + 6. 0 与MATLAB7. x 混合编程的三种方法: MATLAB 引擎、MATLAB 编译器和MATLAB COM 编译器(VC++ Mixed with MATLAB programming, can be excellent VC Visualization MATLAB programming capacity and computing power together. Analysis of the C language and MATLAB7. X in the interface characteristics described in detail VC++ 6. 0 and MATLAB7. X mixed programming in three ways: MATLAB engine, MATLAB Compiler and MATLAB COM compiler)
    2008-12-23 19:32:39下载
    积分:1
  • ARDUINO_MPU9250测试代码
    arduino 的mpu6050测试代码(mpu6050 test code on Arduino)
    2018-04-12 15:50:32下载
    积分:1
  • eddy current thickness_V1.0.0
    说明:  DRV8880驱动程序,各位看官好好学习吧,我就不多介绍了!(DRV8880 driver program, you officers to study well, I will not introduce more!)
    2019-06-19 21:28:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载