搜索资源列表
DC
- 功能:通过键盘,设定电压值,由MSP430的DCA转换为实际电压值输出,精度0.01,可以步进设定电压,也可通过按键直接设定。是一个代码完整的应用程序。 编译环境:IAR 5.10 语言:C-Function: the keyboard, setting voltage value converted by the DCA of MSP430 actual voltage value output, precision 0.01, can set the step voltage can
18B20
- 18B20测温单片机控制程序,带按键设定正负温度EEPROM保存,继电器输出,LCD显示时间,实际温度值,设定温度值。已经验证OK-18B20 temperature microprocessor control program, with buttons to set the positive and negative temperature EEPROM save, relay output, LCD display time, actual temperature, set tempera
USB-keyboard
- C8051F340实现的USB键盘源代码,包括物理按键键值的获取,USB底层协议的实现、USB数据传输的实现。-C8051F340 USB keyboard source code, including the acquisition of physical keys keys, USB underlying protocol implementation, USB data transfer is achieved.
shiyan2
- 开发环境:unSP IDE 2.0.0 实验目的:通过本实验熟悉SunPlus SPCE061A单片机的I/O,定时器的使用方法。中断系统的 使用。熟悉IDE开发环境的使用。 0 实验设备:装有WINDOWS操作系统以及SunPlus IDE仿真开发环境的PC机一台; ì’nSP™ 十六位单片机实验板及扩展板。 实验原理:通过键盘扫描获得键值后分别控制二极管的亮灭;使用定时器产生不同的显示模 式。 实验步骤: 1).连接PC机与SunPlus061A仿
sanzhou
- 主函数不停的查询ADXL345的转换结果,得到x、y和z三个方向的加速度值(读数值),然后将其转换为与自然系坐标的角度,并将结果在LCD模块上显示出来。DS0来指示程序正在运行,通过按下WK_UP按键,可以进行ADXL345的自动校准(DS1用于提示正在校准)。 -The main function of the ADXL345 query stop conversion results obtained x, y and z directions of the acceleration v
keyPadP7279
- xs128 采用AD读取按键的方法,并通过hd7279转化后在数码管上实时显示按键的值-xs128 read the key using the AD method, and through the transformation hd7279 real-time display on the digital values of the buttons
chaosbyuying
- 本设计主控制上有个阈值标签:+、-。超声波报警初始值为20cm,您可以通过这两个按键 设置阈值。 语音部分:您可以自己录音,按着录音键不放,您开始说话,当说话结束后松开按键,录 音结束。 液晶屏上显示A,B,C三个区域超声波测得的距离,右下角有个字母,显示那个字母就表示 哪个区域超声波测得的具体小于阈值,并播放该区域的语音。 -This design has a threshold label on the master control:+,-. Ultrasonic a
hongwai1602
- 红外遥控器按键,单片机接受信号,并在1602显示按键键值。keil语言编程-Infrared remote control button, the signal microcontroller to accept and display keys keys in 1602.
key-232
- 通过串口发送按键码值,绝对可用,直接发给电脑的-Sent through the serial key code value, absolutely free, directly to your computer
111
- 单片机无线遥控接收模块C程序源码: void main(void) { P2_7=0 //开数码管显示 选通左右侧的数码管 P0=0xc0 //初始显示数字0 while(1){ P1=0xff //P1口设置为输入状态 先全部写1 i=P1 //赋值给临时存贮变量 i=i&0x0f //和0x0f相与 屏蔽高四位,读取无线遥控码 if (i==0x04)//如果是0x04,则代表
MCU-IO-simulate-the-PS2-protocol
- 用单片机普通的I/O脚(非中断)模拟PS2协议,通过引脚的的拉高和拉低来读取按键的时序,从而读出键值并且把读出的键值显示到1602液晶显示屏上,并且按键时蜂鸣器会响-Ordinary MCU I/O foot (not interrupt) to simulate the PS2 protocol, through the pins of the sequence of up and down to read the buttons, to read out the key value and
yaokongqi
- 24按键遥控器,能通过按键控制红外灯发射不同的数码值0x00~0x24。再通过解码电路识别信号后,作为解码电路控制信号,可应用于家电简单遥控控制.-24-key remote control, buttons control the infrared light emitted by different digital value 0x00 ~ 0x24. The decoding circuit through the identification signal as a control si
dianrong
- 控制电容种类的划分,通过按键调节技术,来控制输出对应的电容值-Control capacitor types of division, through the key control technology to control the output capacitance value corresponding
Verilog
- 按键消抖控制LED程序.键值变化开始计时 10ms-LED key debounce control program. Keys change start time 10ms
main
- 1:读取输入P1.0口的电压值,由于硬件实现了将5V以上的电压转换为三分之一的输入定呀, 由于电动车单个蓄电池最高电压为12v,经过运放电路,输入到P1.0口的电压值最高是4V 2:当读取到的电压小于3V,声光报警电路接通并报警。 3:P1.3口具有高低捕获功能,本程序设定是下降沿触发。 将捕获到的数字经过转换后送到数码管显示。 4:数码管是4位带小数点共阳数码管。用于显示转速大小。转速单位是Km/h。 一般电动车最高时速不超过100K
display
- 该程序为数码管静态显示程序。 每按一次 独立按键 中的 T0,数码管的值便会加一-The procedure for the digital static display program. Each time you press the button in the Independent, the value of the digital tube will add a T0
PCF8591T-AD-DA
- 该程序实现了用PCF8591T同时采集4路AD输入的功能。 通过P3.2,P3.3两个按键,来切换所显示的AD输入通道。 按S19(P3.2)则显示的精密可调电阻分压的值。 按S20(P3.3) 则显示的光敏电阻和热敏电阻的值。 大家可以调节精密可调电阻,或者挡住光敏电阻的光,或者手接触温敏电阻, 数码管上显示的AD采集值都会有相应的变化。-The program achieved a 4-way simultaneous acquis
key_check
- 使用PIC16F877单片机,实现4*4按键的扫描和键值返回,-Using the PIC16F877 microcontroller to achieve 4* 4 keypad scanning and key return,
468564
- VC++ 获取键盘按键按下的键值,精选学习源码,很好的参考资料。-VC++ keyboard keys pressed key, select learning source code, a good reference.
duoluwenkong
- 采用汇编语言,利用三路数字温度计DS18B20侧周围环境温度,利用液晶显示三路温度值,并且有按键查询阈值,报警等模块,仿真图+汇编-Using assembly language, using a three-channel digital thermometer DS18B20 side of the ambient temperature, the use of three-way LCD temperature values, and there is a threshold inquir