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

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

于 2022-08-12 发布 文件大小:4.70 MB
0 152
下载积分: 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 个回复

  • 基于 avr 消防
    码分多址 (CDMA) 是最有前途的技术,使用通道效率。多址干扰 (MAI) 是一个限制因素为码分多址系统的能力。建议的设计基于一步一步的匹配的筛选器 (MF) 检测和最小平均平方的误差 (MMSE) 检测的实际执行。因此,提供的所有参数的变化感兴趣,否则难以容纳在一个理论模型的灵活性。在此文件中,匹配的滤波器、 Decorrelating 过滤器和 MMSE 和其他检测技术已有以减轻马伊人的影响。
    2022-06-14 09:12:01下载
    积分:1
  • 语音自动应答源代码
    语音自动应答系统源代码--Automatically voice answering system.
    2022-08-07 23:06:31下载
    积分:1
  • The following is a range of ultrasound procedures, the hardware circuit as a res...
    下面是一个超声波测距的程序,硬件电路由于电脑格盘已丢失,下面的代码是从样机上复制的。 硬件电路包括液晶显示、超声波的发射、超声波的接受、滤波、单片机处理。 液晶显示采用LCD1602模块,下面的代码里有液晶的驱动,可以拷贝用于它处。 超声波发射电路包括压电换能器及其支持电路,发射约44KHz的超声波。 超声波的接收电路包含一块CD40106处理芯片。技术指标大约是测距范围在三米左右,测量精度约在厘米级别。大量用于倒车雷达的测距中。-The following is a range of ultrasound procedures, the hardware circuit as a result of the computer grid plate has been lost, the following code is copied from the prototype. Hardware circuit including liquid crystal display, ultrasonic transmitter, ultrasonic acceptance filtering, single-chip processing. LCD1602 LCD module used, the following code, there are LCD drivers, you can use it to copy. Firing circuit including the piezoelectric ultrasonic transducer and its support circuitry, fired about 44KHz ultrasound. Ultrasonic receiver circuit includes a processing chip CD40106. Technical indicators for a range of about 3 meters range around the measurement precision level of about cm. Reversing a large number for the location of the radar.
    2022-03-11 22:11:17下载
    积分:1
  • RTC阅读使用R8C / 13新的编译器
    RTC READING using r8c/13 hew compiler
    2022-04-18 02:32:10下载
    积分:1
  • The control of Bipolar Stepper Motor of TA8435
    二相步进电机驱动芯片TA8435H及其应用-The control of Bipolar Stepper Motor of TA8435
    2022-03-17 12:15:12下载
    积分:1
  • D12 USB设备控制芯片驱动程序代码,是学习USB设备驱动编程的好资料...
    D12 USB设备控制芯片驱动程序代码,是学习USB设备驱动编程的好资料-D12 USB device controller driver code, is a USB device driver programming learning good information
    2022-01-28 08:13:07下载
    积分:1
  • S3C3440的spi裸机驱动程序,开发板是YC2440F
    S3C3440的spi裸机驱动程序,开发板是YC2440F-V5.1,该程序用于接收TDC的测距结果-S3C3440" s spi driver development board is YC2440F-V5.1, the program used to receive the results of TDC ranging
    2022-11-28 20:55:03下载
    积分:1
  • Altera FPGA三速以太网
    此代码将有助于开发基于lan91c111的以太网连接。此项目将包括tripele spped ether net,并用于快速从局域网传输数据
    2022-01-24 13:56:56下载
    积分:1
  • ARM
    STM32的HID设备程序,通过上位机发送数据给下位机ARM,ARM接受数据后恢复数据给上位机。
    2022-05-20 06:15:41下载
    积分:1
  • 走马灯程序,单片机开发基础学习课件,比较简单也实用
    走马灯程序,单片机开发基础学习课件,比较简单也实用-A revolving door process, microcontroller-based learning courseware development, is also relatively simple and practical
    2022-01-26 03:51:06下载
    积分:1
  • 696516资源总数
  • 106641会员总数
  • 4今日下载