搜索资源列表
20-Door-Bell-Designed-by-Timer
- 用定时器来设置门铃,每当按键按下的时候,单片机记录端口为低电平,导通门铃响铃电路,发出预置的铃声。-Use a timer to set the bell, when the button is pressed, the recorded port is low, conducting doorbell ringing circuit, a preset tones.
IIC_timeranjianzoushi
- 根据单片机开发板编写的一个时钟走动程序,按键按下时钟总动,可以通过按键控制-Based on microcontroller development board writing walking a clock procedures, button press the clock always move, can through the button control
zyc2
- 平台ATmega16 编程软件CodeVisionAV 实现功能:单片机与PC机(电脑)之间的串口通信。具体就是单片机最小系统上的AD键盘按键按下后发送键值到串口助手上显示,串口助手发送一串字符到最小系统上的lcd1602显示。 -The platform ATmega16 programming software CodeVisionAV function: serial communication between the MCU and PC (computer). Specif
adc_dma
- 无按键按下,4行输入IO,均为高电平(因为有外部上拉电阻) 3、若按键按下,对应行IO被拉低(假设为第X行),检测为低电平。按键所在行(X行),被鉴别出来。 4、此时,依次改变4列的输出为高,当遇到按键所-DSP28335 ADC
tengnuo
- 键盘驱动源码,应用程序源码 本驱动是基于中断方式的,在此创建一个等待队列,以配合中断函数使用;当有按键按下并读取到键 值时,将会唤醒此队列,并设置中断标志,以便能通过 read 函数判断和读取键值传递到用户态;当没有按 键按下时,系统并不会轮询按键状态,以节省时钟资源*/ -Keyboard driver source code, the application source code of this driver is interrupt-based approach, in
atmega16-4key
- atmega16按键控制数码管显示,不同按键按下,显示不同数值-atmega16 buttons control the digital display, press different buttons to display different values
verilog_矩阵键盘.doc
- 工 程:4x4矩阵键盘 日 期:2011-08-3 最后修改: 功 能:键盘 说 明:ROW【3:0】设为输入,COL【3:0】设为输出。 如果没有按键按下,则ROW【3:0】一直被上 拉为高电平,且 COL【3:0】有低电平输出, ROW【3:0】中才有可能低电平输入。
INT0_jishu
- 基于ATmega16单片机,当接在外部中断的按键按下时,数码管显示数字自动加一。-Based on ATmega16 microcontroller, when connected to the external interrupt button is pressed, the digital display digital automatic one.
DlgKeyBoardPress
- 在对话框程序中实现“热键”,此程序可以同时判断2个按键按下的功能,并且不让后续控制响应这些按键,对于一些控制程序和“热键”的实现是一个比较好的例子,程序中对话框为CDlgKeyBoardPress类,自行添加了一个响应按键的消息,程序较为简单,其中return的作用是不让其他程序再响应这些消息,可以删掉换成break-In the dialog box procedure to achieve " hot key" , this program can determine the
INT-PS2-1602
- PIC16F877A RB0引发外部中断的使用方法,学习PS/2接口键盘解码的方法 按下PS/2键盘按键后,将引发外部中断,进入中断后,对键盘数据线进行判断,以判断出是哪个按键 按下,并利用1602液晶,将该键显示出来。-PIC16F877A RB0 interrupt caused by the use of external methods, learning PS/2 keyboard interface method of decoding press PS/2 keyboard
5.watchdog
- C8051F320单片机看门狗程序,当接P0.0口的按键按下超过约524ms时,看门狗就会复位,并点亮全部的led灯(上电复位后led1已点亮)。-C8051F320 microcontroller watchdog program, when connected to P0.0 mouth more than about 524ms when the button is pressed, the watchdog will be reset, and all lit led lights (p
04
- 在cc2430上添加六个按键,两个普通按键,另四个按键时分压式按键,用A/D值判断某个具体的按键被按下。用六个灯表示按键按下的状态。-In cc2430 add six buttons, two ordinary keys, and the other four buttons midnight pressure buttons, with A/D value judgment on a specific button is pressed. With six light indicates t
sy6
- 本实验将实现如下功能:如果看门狗没有复位,DS0将常亮,如果WK_UP按键按下,就喂狗,只要WK_UP不停的按,看门狗就一直不会产生复位,保持DS0的常亮,一旦超过看门狗定溢出时间(Tout)还没按,那么将会导致程序重启,这将导致DS0熄灭一次。 -The experiment will achieve the following functions: If the watchdog is not reset, DS0 will be lit, if WK_UP button is pres
four--people--qiangdaqi
- 基于fpga的多路抢答器 分为4路 有一路抢答后 其余按键将失灵 当主按键按下后 将正常运行-Fpga-based multi-channel Responder Responder is divided into four road all the way to rest after a failure when the main button to normal operation after the button is pressed
qiangdaqi
- 四人抢答器, 有4组抢答,系统开始后进入抢答状态,抢答开始后20秒倒计时,20秒倒计时后无人抢答显示超时,发出报警信号;当有一路抢答按键按下,该路抢答信号将其余各路抢答信号封锁,同时铃声响起,显示该路抢答台号;一轮结束后按复位键将所有状态复位。-Four Responder, Responder has four groups, the system begins to enter the answer in the state, began to answer in 20 seconds af
key
- 该程序实现独立按键去控制 LED灯 的亮灭,并讲叙了对按键的处理方法。 独立按键相应的IO口平时为高电平,一旦按键按下,单片机便检测到低电平。-The program implements the independent button to control the LED lights off, and spoke of the right key approach. Independent buttons corresponding IO port usually is high, once
78654356
- VB监测键盘按键按下状态,并显示形象图,请大家有需要就下载吧-VB monitor keyboard keys pressed, and displays the image graph, we have need to download it
LED2
- 编写并实现LED排灯(D2~D10)显示程序,实现按键与LED的关联,即4个按键S3~S6控制4个LED灯,按键按下相应的灯亮,松开相应的灯灭。-Prepare and implement LED bar lights (D2 ~ D10) display program, to achieve the association with the LED buttons that four key S3 ~ S6 control four LED lights, press the corresp
51shumaguan
- (数码管静态显示) <1>初始时刻8个发光二极管全部熄灭,8个数码管全部熄灭,蜂鸣器不发声。 <2>定义四个独立按键,当第一个按键按下时,蜂鸣器响一声,当按键松开时,八个数码管都显示“1”。当第二个按键按下时,蜂鸣器响一声,当按键松开时,八个数码管都显示“2”。当第三个按键按下时,蜂鸣器响一声,当按键松开时,八个数码管都显示“3”。当第四个按键按下时,蜂鸣器响一声,当按键松开时,八个数码管都显示“4”。 -(Static digital tube displa
SourceCode
- 实现自定义的USB编程。启用了D12的端 点1和端点2,端点1为中断传输,最大包为16字节,查询间隔为10ms。端点2为批量 传输,最大包为64字节。端点1的输出第一个字节为控制END USB板上的LED的,每个 bit代表一个LED,为1时表示对应的LED亮。端点1的输入第一个字节为返回的开关 状态,每个bit代表一个按键,为时表示对应的按键按下。输出端点2的数据通过串 口发送出去,串口接收到的数据通过端点2返回。-Implement custom USB programm