登录
首页 » 嵌入式系统 » 基于stm32的ucosII程序实现4x2键盘检测

基于stm32的ucosII程序实现4x2键盘检测

于 2022-08-12 发布 文件大小:4.70 MB
0 173
下载积分: 2 下载次数: 1

代码说明:

基于keil开发平台,在stm32板子上实现4x2键盘检测。程序完全正确能够完美实现功能。   部分代码摘录: void Task1(void *pdata) {   u8 key;   while(1)   {    key=KEY_Scan();    if(key==1)    {      digitalToggle(GPIOD,GPIO_Pin_7);  //D4亮     OSTimeDlyHMSM(0,0,1,0);    }    if(key==2)    {  digitalToggle(GPIOD,GPIO_Pin_6);  //D5亮    OSTimeDlyHMSM(0,0,1,0);    }    if(key==3)    {      digitalToggle(GPIOD,GPIO_Pin_5);  //D6亮    OSTimeDlyHMSM(0,0,1,0);    }   if(key==4)    {  &n

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

发表评论

0 个回复

  • sharp arm920t 7A400 of the Evaluation CD
    sharp的arm920t 7A400的评估板附带光盘Sharp KEVLH7A400 v0.3b Welcome to the SHARP KEV7A400 Evaluation board beta starter kit. This document contains last minute updates to the kit and/or documentation that were not available at the kit development time.-sharp arm920t 7A400 of the Evaluation CD-ROM attached Sharp KEVLH 7A400 v0.3b Welcome to the SHARP KEV7A400 Evalu ation board beta starter kit. This document con tains last minute updates to the kit and/or docu Sommet that were not available at the dev kit elopment time.
    2023-02-18 10:15:10下载
    积分:1
  • 现在开发的硬件良好产品 结合C和ASM一起开发 可以混合用C里的函数库...
    现在开发的硬件良好产品 结合C和ASM一起开发 可以混合用C里的函数库--A good product used in developing hardware. It combines both C and ASM, and call C s library function.
    2022-08-11 02:26:13下载
    积分:1
  • freescale ep100 PWM程序,按程序在初始化有限..
    freescale ep100 PWM 程序,按程序中代码初始化即可启动使用PWM,代码已经经过调试。-freescale ep100 PWM process, according to the procedure in the initialization code to activate the use of PWM, the code had already been debugging.
    2023-04-22 18:30:04下载
    积分:1
  • eeprom 24xx 通用读定代码 写数据时自动分页以提高速度
    eeprom 24xx 通用读定代码 写数据时自动分页以提高速度 -General Reading code for eeprom 24xx
    2022-02-03 02:03:24下载
    积分:1
  • 此书是关于cu/os的书,可以帮助开发的朋友们。
    此书是关于cu/os的书,可以帮助嵌入式开发的朋友们。-This book is about the cu/os a book that can help embedded development friends.
    2022-02-10 07:10:20下载
    积分:1
  • MPC03
    MPC03-LV运动控制卡驱动程序,以及说明。-MPC03-LV motion control card drivers, as well as the description.
    2022-04-17 05:23:22下载
    积分:1
  • 概率计实验源程序!这是一个学习使用概率中心极限定理的工具箱,GUI界面,非常好!...
    概率统计实验源程序!这是一个学习使用概率中心极限定理的工具箱,GUI界面,非常好!-Experimental source of Probability and Statistics! This is a learning to use the central limit theorem the probability of the toolbox, GUI interface, very good!
    2022-06-30 04:22:44下载
    积分:1
  • stm32 f4 mpu6050 匿名上位机 数据输出程序
    应用背景 keil stm32 f4 mpu6050 测出 加速度 角加速度  转换滚转角等 用p8 p9 iic采集  uart1串口输出  stm串口转ttl模块连电脑  匿名上位机 处理数据 关键技术 keil上写的mpu6050 Iic数据采集 正点原子里的mpu是自己焊好的引脚配置时考虑了电路,用其他不同的F4时有余引脚原因会读不出数据,需更改其中应答。
    2022-11-12 19:50:04下载
    积分:1
  • Voltmeter 0...99V (PIC16F616)
    Voltmeter 0...99V (PIC16F616)
    2022-08-26 07:43:56下载
    积分:1
  • ARM7 control of multi
    ARM7控制多块液晶片显示电路图,实现大屏幕显示电路图-ARM7 control of multi-block circuit diagram of liquid crystal film, the realization of large-screen display circuit
    2022-03-09 12:12:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载