资源列表
delay-2-ok
- c语言一个子函数实现从1毫秒到1分钟的延时程序-c language of a Function from 1 ms to 1 minute delay procedures
DS18B20_www.ic37.com
- 资料,经典的重要的18b02资料,绝对有用,好资料啊,真的看过就知道,不看会后悔,真的好资料-Information on important classical 18b02 information is absolutely useful, good information, ah, really read, we know that do not will regret it, really good information
4X4key
- 单片机编程,4X4键盘,可以直接使用,非常好用-Single-chip programming, 4X4 keypad, you can directly use, very easy to use
4x4keyboardscan
- C语言编程,4X4键盘扫描程序,可以直接使用到51单片机中-C language programming, 4X4 keyboard scanner can be used directly in the 51 SCM
Commonsourcecode
- 常用源代码,包括LED,LCD,BEEP.-Common source code, including LED, LCD, BEEP.
FLASHLIGHTS
- 在P1.0端口上接一个发光二极管L1,使L1在不停地一亮一灭,一亮一灭的时间间隔为0.2秒。-P1.0 port access in a light-emitting diodes L1, so that L1 in a non-stop out of a bright, a bright a time out interval is 0.2 seconds.
ANOLOGSWITCH
- 监视开关K1(接在P3.0端口上),用发光二极管L1(接在单片机P1.0端口上)显示开关状态,如果开关合上,L1亮,开关打开,L1熄灭。 -Monitor switch K1 (then in the port P3.0), using light-emitting diodes L1 (in the single-chip access port P1.0) Show switch status, if the switch closed, L1 light, switch open, L1
Multi-waySwitchStatusIndication
- AT89S51单片机的P1.0-P1.3接四个发光二极管L1-L4,P1.4-P1.7接了四个开关K1-K4,编程将开关的状态反映到发光二极管上。(开关闭合,对应的灯亮,开关断开,对应的灯灭)。-AT89S51 MCU P1.0-P1.3 next four light-emitting diodes L1-L4, P1.4-P1.7 next four switches K1-K4, programming will reflect the status of switches on the
ShiftedtoRightofTheLeftAdvertisingLights
- 做单一灯的左移右移,硬件电路如图4.4.1所示,八个发光二极管L1-L8分别接在单片机的P1.0-P1.7接口上,输出“0”时,发光二极管亮,开始时P1.0→P1.1→P1.2→P1.3→┅→P1.7→P1.6→┅→P1.0亮,重复循环。-Left to do a single light shifted to right, the hardware circuit as shown in Figure 4.4.1, eight light-emitting diodes L1-L8, resp
source
- 使用Mega128单片机编写的液晶、串口、菜单的C程序。-Mega128 prepared using single-chip LCD, serial, C program menu.
AlarmGenerator
- 用P1.0输出1KHz和500Hz的音频信号驱动扬声器,作报警信号,要求1KHz信号响100ms,500Hz信号响200ms,交替进行,P1.7接一开关进行控制,当开关合上响报警信号,当开关断开告警信号停止,编出程序-P1.0 output with 1KHz and 500Hz audio signal drives the speaker, for alarm signals, require signal 1KHz ring 100ms, 500Hz ring signal 200ms,
IOParallelPortDirectlyDriveLEDDisplay
- 利用AT89S51单片机的P0端口的P0.0-P0.7连接到一个共阴数码管的a-h的笔段上,数码管的公共端接地。在数码管上循环显示0-9数字,时间间隔0.2秒。 -P0 using AT89S51 MCU ports P0.0-P0.7 is connected to a total of Yam Digital tube pen a-h above, the digital control to the public termination. In the digital control on
