CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - light off
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - light off - List
[
assembly language
]
manyswitch
DL : 0
如图4.3.1所示,AT89S51单片机的P1.0-P1.3接四个发光二极管L1-L4,P1.4-P1.7接了四个开关K1-K4,编程将开关的状态反映到发光二极管上。(开关闭合,对应的灯亮,开关断开,对应的灯灭)。-Figure 4.3.1 below, AT89S51 MCU P1.0-P1.3 next four light-emitting diodes L1-L4, P1.4-P1.7 next four switches K1-K4, programming will switch state reflected in the light-emitting diodes. (Switch closed, the corresponding lights, switch off, the corresponding lights out).
Date
: 2025-12-29
Size
: 87kb
User
:
aaa
[
assembly language
]
zinengtaideng
DL : 0
设计制作了一种智能台灯,主要是以BISS0001和单片机组成的红外传感控制电路。其特点是在有人时且外界光强较弱时能自动开灯,无人时关灯,节约能源;且能纠正坐姿,防止近视-Intelligent design a table lamp, and is based on single-chip component BISS0001 and infrared sensor control circuit. Its characteristics are in and the outside world when it was relatively weak light intensity can automatically turn on the lights when no one when the lights are turned off, energy conservation can correct posture and prevent myopia
Date
: 2025-12-29
Size
: 58kb
User
:
陈杰
[
assembly language
]
jiaotongdeng
DL : 0
A、 每个方向的指示灯按照要求点亮不同的时间,前行指示灯点亮10秒熄灭,接着暂停指示灯点亮2秒熄灭,然后左拐指示灯点亮8秒熄灭,按照这种方式进行循环; B、 当向东方向的前行指示灯点亮的时候,向南方向的前行指示灯熄灭,暂停指示灯和左拐指示灯依次点亮2秒﹑8秒,即在向东方向绿灯亮的10秒内,向南方向的红灯持续点亮2秒,之后黄灯持续点亮8秒; C、 当向南方向的前行指示灯点亮的时候,向东方向的前行指示灯熄灭,暂停指示灯和左拐指示灯依次点亮2秒﹑8秒,即在向南方向绿灯亮的10秒内,向东方向的红灯持续点亮2秒,之后黄灯持续点亮8秒; -A, in each direction of the indicator light in accordance with the requirements of different times, before 10 seconds indicator light is off, then two seconds to suspend indicator light is off, then eight seconds left indicator light is off, in accordance with this cycle approach B, when the first trip to east direction indicator light when the direction of the south before the indicator goes out, suspended lights and left turn indicator light 2 seconds ﹑ 8 seconds, that is, the green light in the east direction 10 seconds, the south continued to light up the red light on the direction of two seconds, followed by continuous light yellow 8 seconds C, when the south before the direction indicator light when the forward direction towards the light is off, suspend the lights and left turn indicator light 2 seconds ﹑ 8 seconds, that is, the direction of green in the south 10 seconds, continuing east lit the red light on the direction of two seconds, followed by continuous light yellow
Date
: 2025-12-29
Size
: 3kb
User
:
清流水
[
assembly language
]
QICHESHUO
DL : 0
遥控密码学习,短按学习键(1S),喇叭Bi一声,转向灯长亮,进入学习模式,在5秒内收到遥控器有效信号,喇叭 Bi-Bi两声转向灯熄灭表示学习成功并且退出学习模式。如果在学习模式下5秒内没有收到遥控器有效信号,喇叭Bi-Bi两声转向灯熄灭并退出学习模式。最多能学习4个遥控器,如果超过4个就会把最先学习的遥控器给覆盖掉。 -Remote password learning, short press learn button (1S), Speaker Bi heard, turning bright light long into the learning mode, in 5 seconds before the effective remote control signal, Speaker Bi-Bi Liang Sheng turning lights off that success in learning and to withdraw learning mode. If the learning mode is not received within 5 seconds, an effective remote control signal, horn Bi-Bi Liang Sheng turn lights off and exit the learning mode. Can learn up to four remote controls, if more than four would be the first to learn the remote control to override.
Date
: 2025-12-29
Size
: 4kb
User
:
Jimmyluo
[
assembly language
]
dpl
DL : 0
PIC12C508单片机控制灯光源程序以上程序使用PIC12C508单片机,内部4MHZ时钟,4脚输入50HZ脉冲信号,7,6,3脚(GP0,GP1,GP4端口)为输出口 本文来源于虾客源码 http://www.xkxz.com-PIC12C508 MCU control over light source uses PIC12C508 microcontroller, the internal 4MHZ clock, four feet 50HZ input pulse signal, 7,6,3-pin (GP0, GP1, GP4 port) for the output from shrimp off this source http:// www.xkxz.com
Date
: 2025-12-29
Size
: 3kb
User
:
赤鹏
[
assembly language
]
coretime
DL : 0
dsp blackfin开发版 的程序。实现中断响应。控制灯的亮灭及变化频率。-dsp blackfin development version of the program. Achieve interrupt response. Control the lamp light off and change the frequency.
Date
: 2025-12-29
Size
: 2kb
User
:
shaozhiming
[
assembly language
]
zongsheshiyan
DL : 0
本程序代码课=可以人性化的控制交通灯的亮灭,实现交通灯的合理管理-The code class = can be humanized light off control of traffic lights, traffic lights to achieve the rational management of
Date
: 2025-12-29
Size
: 1kb
User
:
小沅仔
[
assembly language
]
liushuideng
DL : 0
功能实现花样流水灯 全亮,全灭 从右到左依次点亮 从左到右依次点亮 间隔闪烁 从右到左逐个点亮 从左到右逐个熄灭 从左到右逐个点亮 从右到左逐个熄灭 从两边到中间点亮 从两边到中间熄灭 从中间到两边点亮 从中间到两边熄灭-Flow pattern to achieve full function bright lights, Quanmie right to left interval light flashes lit from left to right right to left one by one by one from left to right light lights off one by one from left to right right to left one by one go out to the middle from both sides of the light from both sides to the middle light goes out from the center to both sides out from the center to both sides
Date
: 2025-12-29
Size
: 1kb
User
:
qwert
[
assembly language
]
jiaotongdeng
DL : 0
用8255A的B端口和C端口控制12个LED发光二极管的亮和灭,以模拟交通路灯的管理。 -With the 8255A, B and C port control port 12 of the light emitting diode LED and off to simulate the management of traffic lights.
Date
: 2025-12-29
Size
: 51kb
User
:
三菱无镜
[
assembly language
]
asm
DL : 0
由80C51内部定时器1按方式1工作,即作为16位定时器使用,每0.1秒钟T1溢出中断一次。P1口的P1.0~P1.7分别接发光二极管的L1~L8。要求编写程序模拟一循环彩灯。彩灯变化花样可自行设计。要求给出的变化花样为:①L1、L2、…L8依依点亮;②L1、L2、…L8依依熄灭;③L1、L2、…L8交差亮8次。④L1、L2、…L8全亮、全灭8次。各时间间隔为0.3秒。让发光二极管按以上规律循环显示下去。-By the 80C51 Timer 1 by way of an internal work, that is, as 16-bit timer, T1 overflow interrupt every 0.1 seconds once. P1 port P1.0 ~ P1.7 respectively, then the light-emitting diodes L1 ~ L8. Requested by the program to simulate one cycle of lights. Lights change pattern can design their own. Required to give change in pattern is: ① L1, L2, ... L8 reluctant to light ② L1, L2, ... L8 reluctant to go out ③ L1, L2, ... L8 cross off 8 times. ④ L1, L2, ... L8 all bright, all off 8 times. The time interval of 0.3 seconds. Let light-emitting diode display according to the above rule cycle continues.
Date
: 2025-12-29
Size
: 11kb
User
:
周鹏
[
assembly language
]
cx
DL : 0
51扩展8255用八个开关控制8个LED灯的亮灭-51 extension 8255 with eight switch control 8 LED lights light off
Date
: 2025-12-29
Size
: 20kb
User
:
彤
[
assembly language
]
_8254CLOCK
DL : 0
微机接口 汇编语言 用8254实现即使定时功能 驱动小灯泡亮灭-Computer interface assembly language using 8254 timing function drive small bulbs light off
Date
: 2025-12-29
Size
: 101kb
User
:
puppyandbunny
[
assembly language
]
8255
DL : 0
微机实验8255 1)用8个LED来反映8个开关量的状态,拨动开关,让对应的灯亮。 2)8255控制交通灯 本设计用LED来模拟交通灯。请考虑8255与LED的连接,以及如何用8255来控制LED的点亮与熄灭。 交通灯的控制过程: 东西向的绿灯、南北向的红灯亮5秒钟。 东西向的绿灯灭、南北向的红灯亮,在此时间段中东西向的黄灯闪烁5次,每次亮0.5秒灭0.5秒。 南北向的绿灯、东西向的红灯亮5秒钟。 南北向的绿灯灭、东西向的红灯亮,在此时间段中南北向的黄灯闪烁5次,每次亮0.5秒灭0.5秒。 按此规则重复控制。 -Microcomputer Lab 82551) with eight LEDs to reflect the status of the eight switch, toggle switch, so that the corresponding lights. 2) 8255 the design of the control of traffic lights with LED to simulate traffic lights. Please consider the 8255 LED connection, as well as how to use 8255 to control the LED lit and extinguished. Traffic light control process: things green light to the north and south to the red light for 5 seconds. Green light off of the east-west and north-south red light, something to the yellow light flashes 5 times in this time period, every time bright 0.5 seconds every 0.5 seconds. The green light of the north-south, east to west, the red light is on for 5 seconds. Green light off of the north-south, east-west red light, in this period of time in the north and south to the yellow light flashes 5 times, and every time bright 0.5 seconds every 0.5 seconds. This rule repetitive control.
Date
: 2025-12-29
Size
: 47kb
User
:
庄剑文
[
assembly language
]
Traffic-light-control-system
DL : 0
编写一个交通灯控制程序,实现东西路口与南北路口状态灯的转换和紧急处理。采用8253芯片计数,输出1S的时钟脉冲,并使用8255接口芯片控制LED亮灭,同时让8279芯片显示倒计时,键盘控制紧急处理按键,以此实现交通灯指挥控制系统。-Write a traffic light control program, the conversion of the things the intersection with the north and south of the intersection status lights and emergency treatment. 8253 count output 1S the clock pulse, and use the 8255 interface chip to control the LED light off, while the 8279 display the countdown, keyboard control emergency processing keys, command and control systems in order to achieve the traffic lights.
Date
: 2025-12-29
Size
: 12kb
User
:
chen
[
assembly language
]
danpianjizhongduanfangzhen
DL : 0
单片机仿真。proteus环境内。包含仿真,源文件,kell文件。内容:51单片机中断控制,使得LED灯1秒亮灭,60秒亮灭,1小时亮灭。-SCM simulation. proteus environment. Including simulation, source files, kell file. Content: 51 microcontroller interrupt control, LED lights light off one second, 60 seconds light off, 1 hour light off.
Date
: 2025-12-29
Size
: 38kb
User
:
savory
[
assembly language
]
Light-LED-circulating
DL : 0
小小游戏机:利用8255芯片完成,8255芯片接有LED灯和按键。 1、LED灯初始状态为循环点亮; 2、按键和灯是一一对应的状态,如果在灯n(n=1--8)点亮的时候,按键被按下,则游戏成功,所有灯灭。如果按键n(n=1--8)按下时,相应的灯n没有亮,而是其他灯亮, 则游戏失败,所有灯继续处于循环点亮状态。-Little Rides: the completion of the 8255 chip, 8255 chip connected with LED lights and buttons. LED lights initial state of the light cycle 2 buttons and lights are one-to-one correspondence status, n (n = 1- 8) If the light is lit when the button is pressed, the game is successful, all the lights off. If the button n (n = 1- 8) Press the corresponding light n is not lit, but the other lights, the game fails, all the lights in the light cycle status.
Date
: 2025-12-29
Size
: 1kb
User
:
曾红雨
[
assembly language
]
jiaotongdeng
DL : 0
考虑横道线的交通灯的控制,设有红,绿两盏信号灯,一般是红的亮,路边设有按钮SF, 行人横穿街道时需要按一下按钮.4s后红灯灭,绿灯亮,过5s秒后,绿灯闪烁4次然后红灯又亮-Consider zebra stripes control of traffic lights, with red, green two lights, usually red bright side of the road with button SF, pedestrians crossing the street need to click the button .4 s red light off, the green light,5s seconds after the green light flashes 4 times and then the red light and bright
Date
: 2025-12-29
Size
: 1kb
User
:
刘影
[
assembly language
]
wireless
DL : 0
基于MSP430F149的无线C语言程序,,无线模块为8引脚的NRF24L01模块。编程时使用的是IAR软件,此程序是在他人程序的的基础上修改的,大概的功能是通过按键控制LED的亮灭。-Based on MSP430F149 Wireless C language program, 8-pin wireless module NRF24L01 modules. When programming using the IAR software, this program is in others on the basis of the program modification, probably through the key function is to control the LED light off.
Date
: 2025-12-29
Size
: 93kb
User
:
龙清
[
assembly language
]
qdq
DL : 0
1、8255a基本输入输出:能够在自行设计的接口开发板上,实现拨动 开关控制LED的亮灭。 2、流水灯设计实现:能够在自行设计的接口开发板上,实现拨动不同开关控制LED灯的变化。例如,K1从左往右,K2从右往左,K3从中间向两边,K4从两边向中间依次亮灭变化。 3、数码管:能够在自行设计的接口开发板上,实现拨动不同开关,数码管显示该开关位置值(1-8);若同时拨动两个以上开关,则数码管显示“E”。 -1,8255 a basic input and output: the ability to design their own interface development board realize toggle switch to control the LED light off. 2, water lights designed to achieve: the ability to design their own interface development board to achieve different toggle switch to control the LED lights change. For example, K1 from left to right, K2 from right to left, K3 from the middle to both sides, K4 from both sides toward the middle turn light off change. 3, the digital: the ability to design their own interface development board to achieve different toggle switch, digital display of the switch position value (1-8) if two or more simultaneously toggle switch, digital display " E" .
Date
: 2025-12-29
Size
: 328kb
User
:
王丽娟
[
assembly language
]
control-systerm-ASM
DL : 0
基于AT89C51的交通控制系统,以ASM为开发环境。 1.AB方向亮绿灯60s,然后黄灯闪烁3次,每次一秒(亮灭各40ms),红灯40s,同时CD方向红灯65s,绿灯35s,黄灯闪烁3s 2.各路灯用LED模拟显示,同时用七段数码管显示两路的倒计时时间 3.利用键盘可修改灯亮时间 4.PC机设置灯亮时间,利用PC与单片机串口通信实现 -AT89C51-based traffic control system to ASM for the development environment. 1.AB Directional Brightness green 60s, and then the yellow light flashes three times, each time one second (light off each 40ms), red 40s, while the direction of the red CD 65s, green 35s, flashing yellow 3s 2. Various street lights with LED analog display, but with two seven-segment digital display countdown time 3 can be modified using the keyboard lights lit time 4.PC time machine settings using PC serial communication with the MCU
Date
: 2025-12-29
Size
: 12kb
User
:
宋雪涛
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.