搜索资源列表
P89C51RD+14
- //P89C51RC+、P89C51RD+特有例子//初始化错误或通信错误等待1秒,让 //pc程序超时并报告错误-/ / P89C51RC, P89C51RD specific examples / / initialization error or wait for a communication error seconds, / / pc overtime procedures and report errors
aduc70xx_adc
- USB是主从总线,上位机不读,下位机无法上传。所以当上位机调用ReadData时,下位机才能上传数据,当然,下位机应该准备好数据,如果没有准备好,上位机程序会一直等待下去,像停机一样。-USB is the main from the bus, not to be PC, the next crew unable to upload. So when PC calling ReadData, where crew can upload data, of course, the next crew
HI2C_C51
- 此软件包是以查询方式完成各种总线操作的,在使用前应对总线进行检查,并 * 使用看门狗,以防等待总线而造成死机。-This package is for all manner of operation of the bus, the bus should be used before the inspection, and * Use watchdog to prevent and wait for the bus caused lockups.
IR_Rx_Tx
- 本程序运行于C8051F330,功能为接收遥控器发出的红外信号,然后等待上位机通过I2C总线来读取。IR数据接收完毕后,不再采集新的IR数据,一直等待上位机将数据取走后才开始准备接收新的IR数据-this program running on the C8051F330, functional remote control device to receive the infrared signal, Then wait for the PC through the I2C bus to read
UART_leochin
- 2个51单片机实现UART通信 程序分master和slave2个部分。 master等待按键(SW1),按键按下后将数据发送到slave单片机,slave单片机中断接受查询发送,将收到的数据发送回master,master中断接受,收到后将LED灯点亮。-two 51 MCU UART communication procedure, and the master slave2 parts. Wait for the master keys (SW1), press the butto
mc9s12LCD
- 功能:1.初始显示:\"Wait Receiving..\" \"Soochow 2005.08\" * * 2.等待接收字符,当收到32个字符时显示,重复此功能-functions : 1. Initial show : "Wait Receiving .." "Soochow 2005.08" * * 2. awaiting admission characters, when received 32 characters, repeat this
msp430x11x1_ta_uart9600_04
- Descr iption: This program demonstrates a half-duplex 9600-baud UART using // Timer_A3 using no XTAL and an external resistor for DCO ROSC. DCO used for // TACLK UART baud generation. The program will wait in LPM4, echoing back // a received ch
LANDetect
- ARP test mode. According to the idea we design the arithmetic for the key part, first the system sends a message to the target machine, and then system wait for the response. Once system receives a message, it starts to analyze the message, according
温度检测部分单片机程序
- SRART: MOVX @R0,A 令ADC0809开始转换 WAIT: JB OP2.0,ADC 检测ADC0809转换完成否? CALL DISP 调用显示子程序 JMP WAIT ADC:MOVX A,@R0 将转换好的数据送入累加器 CALL L1 调用十进制转换子程序 MOV RI,#OFFH 显示延时-SRART : R0 MOVX @ A change began to make ADC0809 WAIT : JB OP2.0, ADC conversion completed t
chengxuceshi
- 测试新买stc51单片机的功能是否正常。1.8个流水灯先会从上到下流动一遍,同时蜂鸣器发声。 2.接着DAC电流指示灯由暗变亮(最下面的一个LED灯D12,是DAC电流指示灯) 3.接着前三位数码管显示温度(需要把温度DS18B20传感器插入到学习板上面才有显示) 4.接着AD数值显示在数码管的前三位 5.接着等待矩阵键盘的按下,按下后相应的数码显示在数码管的后三位上-Buy stc51 SCM test new functionality. 1.8 from top to bo
Key_4x3
- 51单片机的二极管键盘,4IO口12键,驱动函数 按键检测 按键扫描 等待按键-51 Single-chip diode keyboard, 4IO mouth 12 keys, function keys drivers to wait for detection scan button button
DHRY
- The DHRY program performs the dhrystone benchmarks on the 8051. Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different
duqujianpan
- 这是读取键盘的子程序 主要内容为:如何定义位,如何得到按键状态,防止键盘干扰的方法 以及如何处理读入的键值 思路:首先在某一引脚输出一个电平,然后读入引脚的电平,如果刚好相反 那么可能有按键发生,但是不排除干扰,为了防止干扰,需要软件延时20ms 消除干扰,然后,等待用户释放,否则,可能重复的到某种结果,发生意外情况 应该说键盘输入是单片机外部指令输入的重要途径,因此如何设计键盘以及键盘的工作原理、读键盘的方法、键盘的抗干扰设计等在单电能机系统设计中占有重要地位。
lq51
- Keil 自带的 RTX51—Tiny 系统有这样几个缺点:1、非占先式任 务调度,这样系统的实时性就很难保证 2、提供的系统服务太少, 只有 wait 与 signal。而 RTX51—Tiny 的优点是:1、Keil 公司自己开 发的,使用_task_关键字区别每个任务,这样可以使得被不同任务调 用的不同函数即使没有相互调用,他们的局部变量也不会相互覆盖。 免去了在 SmallRTOS 中需要手动制止函数间局部变量的相互覆盖。 2、内核小。整个 RTX51--Tin
chuankou
- 系统上电复位后,系统就处于等待状态,当K0到K7有按键动作时,单片机会将动作的按键号0到7串行发送到串并转换芯片74LS164中,芯片74LS164使74LS240驱动数码管显示按键所对应的按键号。-System power-on reset, the system in a wait state, when there are key K0 to K7 action, single-chip will be the key actions 0-7 serial number is sent t
PS2shubiaoLCD
- ps/2键盘输入led显示ascii码 .稍等1s在lcd上显示输入的字符,当lcd上显示满字符时,在按下按键自动清屏,从第一行显示。-ps/2 keyboard input led display ascii code. wait 1s in lcd display input characters, when the full character lcd display, the automatic clearance in screen press the button, from the
ps2tolcd
- 1、ps/2键盘输入,通过led显示ascii码 2、稍等1s可以在lcd上显示输入的字符 3、其中键盘上的backspce键是用来清屏的 4、当lcd上显示满字符时,在按下按键自动清屏,从第一行显示-1, ps/2 keyboard input, through the led display ascii code 2, wait 1s in the lcd display characters input 3, which backspce keys on the keyboar
Reaction
- 简单的单片机测试反应时间,C语言编程,protues仿真,先按开始键,等待3s,led亮灯,立即按下对应按键-Simple reaction time test of the single-chip, C language programming, protues simulation, press the start button and wait for 3s, led lights, immediately press the corresponding button
C8051F120timers2
- 使用计数器/定时器2 中断工作方式定时控制P0 口灯闪烁的频率。采用中断的方式等待 定时时间到达。-The use of counter/timer 2 interrupt control P0 work from time to time the frequency of blinking lights mouth. Means the use of interrupted time to wait from time to time.
Stm8l-wait-mode-WFI
- 此代码为stm8l WFI等待模式下电流功耗测试代码欢迎大家学习-This code is stm8l WFI wait mode current power test code welcome to learn