搜索资源列表
Delay
- 延时开关程序 说明:当按键P1.0 第一次按下时,P3.0 和P3.1连接的发光二极管亮,当第二次按下时,一个发光管灭, 90秒后全灭。P4、5口输出时间值。-Delay switch program Note: when the key P1.0 first press, P3.0 and P3.1 connection of leds light, when the second press, a luminous tube out, After 90 seconds co
LM75-STC12C5A32S2
- 温度传感器LM75与STC12C5A32的采集程序,在LED上面显示出来,按下按键,显示温度值。-Temperature sensor LM75 and STC12C5A32 collection procedures, the LED above the display, press the button to display the temperature value.
led
- 按键控制7段LED数码管的显示值变化,使用keil汇编语言-Keys to control the 7-segment LED display changes
snake
- /*--- --- -----编译过程使用的头文件*/ #include<graphics.h> #include<stdlib.h> #include<dos.h> /*-----------------宏定义用到的数量关系(键盘上、下、左、右按键的值)*/ #define N 200 #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000
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,则代表
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
avr_LED_dimmer_B
- 类似LED手电筒的三档调光带记忆程序源码(汇编),编译环境:AVR Studio 4,调试通过。电源为6v铅酸蓄电池(也可以用锂电池,但要修改相应参数),设欠压保护5.25v,低于此值则进入休眠状态,主频通过熔丝位设为4.8MHz,电源开关作为开关和换档,快速连续按键视为换档操作,慢速只有开关功能,类似于手电筒调光。-Similar LED flashlight Three dimming with memory program source code (assembly), the compi
STM8andCY8CMBR3108
- 用3108触摸IC实现按键的触摸控制 (当按相应按键时,所对应的LED亮同时LCD显示从 3108读取到的值) 每当一个按键按下Beep响一下。 MCU用的是STM8s105 -3108 touch the touch control IC achieve key (when press the corresponding button, the corresponding LED and LCD display the bright 3108 read
12
- 本系统以单片机AT89C51为主体,由芯片插座、独立按键、74HC573驱动8位数码管显示、5V直流电源控制模块等组成。根据数字集成芯片的引脚特性以及集成芯片的真值表编写检测程序。该系统能完成14脚以内常用TTL74系列数字集成芯片的功能测试。-This system is the main body of the single-chip microcomputer AT89C51, the chip socket, independent buttons, 74HC573 Driver 8
64-Calculator
- 采用4×4键盘,16个键依次对应0~9、“+”、“-”、“×”、“÷”、“ ”和清除键。可以进行小于255的数的加减乘除运算,并可连续运算。当键入值大于255时,将自动清零,可以重新输入。反转法扫描键盘,串行口数据输出,74ls164驱动数码管显示 P1口为扫按键特征码输入端 P3.0,P3.1为串行口数据输出端连接串行静态显示模块的DIN、CLK端。-Using 4 4 keyboard, 16 key corresponding to 0 ~ 9+ in turn- and clear
电子钟
- 利用8253和8259芯片实现实时电子时钟的功能;利用8255控制七段数码管完成定时扫描显示。显示格式为xx时xx分xx秒,每隔1s,时间值改一次。按键SHIFT可选择时、分、秒,按键CTRL可对所选的时、分、秒进行加1,小时加至23后清0,分、秒加至59后清0。(Use 8253 and 8259 chip to realize the function of real-time electronic clock; use 8255 control seven segment digital