Description: 1.将P1.0~P1.3接开关,将P1.4~P1.7接发光二极管。依据P1.0~P1.3开关状态控制P1.4~P1.7发光二极管点亮。 2.将P1.0~P1.7全部接发光二极管,开始P1.0、P1.5点亮,左循环50次后P1.1、P1.4点亮;右循环30次,循环往复。-1. P1.0- P1.3 will then switch to P1.4- P1.7 access LEDs. P1.0- P1.3 based on state control switch P1.4- P1.7 LED lights. 2. P1.0- P1.7 will take all LEDs started Schematic, P1.5 lit, the left circle after 50 P1.1 and P1.4 lit; Turn right circle 30 times repeated. Platform: |
Size: 9216 |
Author:刘宇 |
Hits:
Description: /// /// /// /// /// /
USE BY :超声波测距器
IC :AT89C51
TEL :
OSCCAL :XT (12M)
display :共阳LED显示
Updata :2004/12/12
NAME :ZHOUSS
///////////////////////////////////////////////////////
测距范围7CM-11M,堆栈在4FH以上,20H用于标志
显示缓冲单元在40H-43H,使用内存44H、45H、46H用于计算距离
VOUT EQU P1.0 红外脉冲输出端口
speak equ p1.1
-////////////////////////////USE BY: ultrasonic range-finder IC: AT89C51 TEL: OSCCAL: XT (12M) display: a total of Yang LED display Updata: 2004/12/12 NAME: ZHOUSS ////////////////////////////////////// ///////////////// ranging scope of 7CM-11M, the stack in 4FH above, 20H for buffer unit showed signs in the 40H-43H, the use of memory 44H, 45H, 46H for calculating the distance VOUT EQU P1.0 infrared pulse output port speak equ p1.1 Platform: |
Size: 161792 |
Author:chensi |
Hits:
Description: 每一个按键的键值读出来,并且通过实验板上P1口的8个LED显示出来,在解码成功的同时并且能发出"嘀嘀嘀"的提示音. 这是站长最新用单片机AT89C51制作的30-Each button to read out the keys, and P1 through the mouth of the experiment on-board LED display 8, in the successful decoding at the same time and can issue a 嘀嘀嘀 prompt tone. This is the station with the latest single-chip microcomputer AT89C51 produced 30 Platform: |
Size: 1024 |
Author:陈方永 |
Hits:
Description: 简易电子钟的设计:利用AT89C51单片机的P1口的P0.0-P0.7连接到一个共阳数码管,P2.0-P2.7控制位选端,设计出一个电子钟。P1.0、P1.1、P1.2用于调节电子钟的时间。-Simple electronic clock design: using AT89C51 microcontroller port P0.0-P0.7 P1 connected to a common anode LED, P2.0-P2.7 control bits select terminal, designed an electronic clock. P1.0, P1.1, P1.2 for regulating the electronic clock time. Platform: |
Size: 31744 |
Author:jidom |
Hits: