CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - stop light
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - stop light - List
[
Other Embeded program
]
107215824washingmachine
DL : 0
通过不同的二极管亮,表示洗衣机的不同状态。如正转、反转、洗条、干衣。按下P3_3时,会停止-Through different LED light, washing machine express different states. Such as being transferred, inverted, washed, the clothes. P3_3 press will stop
Date
: 2025-12-27
Size
: 1kb
User
:
李杰
[
Other Embeded program
]
External-hardware-interrupt
DL : 0
当外部中断没有发生时,接在PD口的8个发光二极管一起不停的闪烁,当外部中断发生时,即开关S0被按一次后,接在PD0口的D0二极管不停的闪烁。-When the external interrupt did not occur, then 8 in the PD population with non-stop blinking light-emitting diode, when the external interrupt occurs, the switch S0 is pressed once, then the mouth of D0 in PD0 stop the flashing LED.
Date
: 2025-12-27
Size
: 13kb
User
:
liliyang
[
Other Embeded program
]
zhongduan
DL : 0
这是在单片机上实现中断的方法,旨在程序运行时,灯闪烁10次后停止闪烁且cpu挂起-SCM interrupt, aimed at the program is running, the light flashes 10 times to stop blinking and cpu hang
Date
: 2025-12-27
Size
: 1kb
User
:
谭林
[
Other Embeded program
]
test
DL : 0
当按下按钮1时,流水灯以间隔时间500ms为单位,依次流水点亮(即按下按钮1后,灯1点亮500ms,其余灯熄灭。随后灯2点亮500ms, 其余灯熄灭. 随后灯3点亮500ms, 其余灯熄灭……).任意时刻,当按钮2按下时,流水灯停止,并保持当前状态。-When the button is pressed 1, the light water units with an interval of 500ms, turn the water lit (ie press button 1, the lamp 1 lights 500ms, the rest of the lights go out. Subsequently lamp 2 lights 500ms, the remaining light goes out followed lamp 3 lights 500ms, the remaining lights off ......) any time, when button 2 is pressed, the light water stop, and maintain the current state.
Date
: 2025-12-27
Size
: 69kb
User
:
杨丹
[
Other Embeded program
]
zhongduan2
DL : 0
lpc2103嵌入式外部中断进阶编程 (第一次按下外部按键,显示流水灯,第二次按下外部按键,数码管循环显示,第三次按下外部按键流水灯、数码管同时循环显示,最后按下外部按键全部停止显示,循环往复)-Advanced Programming Embedded lpc2103 external interrupt (first press external button, the display light water, the second press external keypad, digital control loop display, external buttons pressed third water lights, LED display while loop, Finally, press the button to stop all external display, ad infinitum)
Date
: 2025-12-27
Size
: 77kb
User
:
程盼
[
Other Embeded program
]
Project8
DL : 0
东西通行,绿灯亮,红灯灭; 南北停止通行,红灯亮,绿灯灭; 同时启动计时器,计时10S; 最后三秒黄灯闪; 10S结束,南北行,东西停止; 如此交替。 -Things pass, green light, red light out North and south to stop traffic, red light, green light out At the same time start the timer, timer 10 s The last three seconds yellow light shines 10 s end, the north-south line, stop So alternate.
Date
: 2025-12-27
Size
: 59kb
User
:
李陌
[
Other Embeded program
]
2
DL : 0
当列车速度不高于限制速度时,进行实时监控。当列车速度高于限制速度时,警报灯开始闪烁和警报铃开始响,提醒列车司机降速,并开始倒计时10秒,当司机把速度降低到安全速度以下时,停止计时,警报灯停止闪烁,警报铃停止响;当列车司机未降速,计时10秒后列车自动降速,同时警报灯停止闪烁,警报铃停止响。-When the train speed is not higher than limit speed, real-time monitoring. When the train speed is higher than the limit, warning lamp flickered on and alarm bells started ringing, remind the driver of the train speed down, and start the countdown to 10 seconds, when the driver by reducing the speed to a safe speed, stop time, warning light to stop flashing, alarm bell stopped ringing Did not slow down as the train driver, timing for 10 seconds after the train speed down automatically, warning light to stop flashing at the same time, the alarm bell stopped ringing.
Date
: 2025-12-27
Size
: 49kb
User
:
路风
[
Other Embeded program
]
dianpianji
DL : 0
利用 LAB8000 实验箱中具有的资源,完成防盗报警系统设计。该报警系统具有开启 报警系统以及关闭报警系统开关,当开启开关时,报警系统开始工作,若有盗贼入侵,会 产生一定的压力信号,超过某阈值时,会产生声、光报警信号,同时通过 LED 显示出当 前的报警信息“OPEN”,报警过程中若关闭报警系统开关,声、光信息停止,并在 LED 中显示“CLOSE”。-Use LAB8000 experimental box has the resources to complete the anti-theft alarm system design. The alarm system has to open and close the alarm system alarm system switch, when the switch is turned on, the alarm system to work, if thieves invaded, would produce a certain pressure signal exceeds a certain threshold, it will produce sound, light alarm signal, through LED displays the current alarm information " OPEN" , turn off the alarm if the alarm system during the switch, sound, light and information to stop and display " CLOSE" in the LED.
Date
: 2025-12-27
Size
: 1kb
User
:
liuxiaohong
[
Other Embeded program
]
liushui
DL : 0
通过编程来实现单片机I/O口对LED的控制,使流水灯显示上下流动、停止流动、闪灯等功能,并由按键控制流水灯的不同亮法,LED的工作方式通过键盘的扫描实现。其中的LED采取共阴极接法,通过依次向连接的LED的I/O口送出低电平来实现 LED的点亮。-Programmed to achieve single-chip I/O port for LED control, so water light show upward and downward flow, stop the flow, flashing lights and other functions, by different keys to control water lamp light method, LED work through the keyboard scan implementation. Wherein the LED adopt common cathode connection, in order to connect the LED via an I/O port sends low level to achieve LED lighting.
Date
: 2025-12-27
Size
: 2kb
User
:
田鑫
[
Other Embeded program
]
KL25-CMP
DL : 0
1. 工程概述 (1)本工程为KL25微控制器无操作系统应用工程,CMP样例程序 (2)使用串口与外界通信,使用串口1,波特率为9600,1位停止位,无校验 2. 软件环境 (1)CodeWarrior v10.2/v10.3/v10.5 3. 硬件环境 (1)KL25 SD13-01 EVB板 (2)兰灯对应引脚为PTB9,红灯对应引脚为PTB19,绿灯对应引脚为PTB18 (3)串口发送引脚为PTE0,接收引脚为PTE1 (4)PTD1接正向通道PTC7,负向通道内部连接DAC,正向通道和负向通道比较 4. 实验现象 (1)程序启动时串口发送This is CMP Test!,同时灯闪烁 (2)该样例演示CMP正向通道与负向通道电压比较测试,无窗口模式/滤波模式。 内部6位DAC将0~60数字量转换成0~3V电压输入给负向通道,正向通道输入电压0或3.3V, CMP比较两通道电压值,根据比较结果在串口输出提示。-1. project overview (1) the project as KL25 microcontroller operating system free project, CMP sample program (2) using serial communication with the outside world, using serial port 1, baud rate 9600, 1 stop bit, no parity 2. software environment (1) CodeWarrior v10.2/v10.3/v10.5 3. hardware environment (1) KL25 SD13-01 EVB (2) blue light pin PTB9, red PIN is PTB19, corresponding to green light pin PTB18 (3) serial port PIN is sent to PTE0, and receive pins PTE1 (4) PTD1 forward channel PTC7, channel internal DAC, is to channel to channel and more 4. experimental results (1) send This serial is CMP Test! when the program starts, and light is blinking (2) the CMP are demonstrated by the sample channel compared with negative voltage test, windowless mode/filter modes. Internal 6-bit DAC to convert the 0~60 digital 0~3V input voltage to negative to the channel, the forward channel 0 input voltage or 3.3V, CMP compare two-channel voltage value, the result of the comp
Date
: 2025-12-27
Size
: 474kb
User
:
wangsan
[
Other Embeded program
]
int-main
DL : 0
本闹钟系统共有五个按键,各有不同的功能,每个按键按下都会发出提示音。前三个按键组合使用用于调节时钟第一次响铃和第二次闹铃的时间。第四个按键控制显示十五种心形流水灯效果,第五个按键按下时单片机先检测温度,然后控制语音芯片播报当前室温。当系统达到闹铃所设的时间时会有闹铃声音,只有通过手枪(经过玩具手枪改造可以发出指定编码的红外线)射出红外线才能停止,而且手枪瞄准位置误差太大时,闹铃将接收不到继续响铃,所以人必须稍微清醒并且瞄准目标才能关闭闹铃。当平时没有闹铃时若用手枪打闹钟,闹钟就会播放当前温度。另外平时时只让时钟数码管亮,心形流水灯不亮。-The alarm system consists of five buttons, each with different functions, each key press will beep sounds. The first three key combination to use for adjusting the clock on the first ring and the second alarm time. The fourth button control display fifteen kinds of heart-shaped light water effect, when the fifth button is pressed first single-chip temperature detection and control voice chip broadcast the current room temperature. When the system reaches the alarm will be set by the time the alarm sounds, only through the gun (a toy gun transformation can be issued through the specified encoding infrared) emitted infrared to stop, and the pistol aimed at the position error is too large, the alarm will not received to continue ringing, so people need a little sober and aim at the target to turn off the alarm. When the alarm if not usually hit with a pistol Alarm Clock will play the current temperature. Also usually only when the digital clock so that bright, heart-shaped water does not
Date
: 2025-12-27
Size
: 24kb
User
:
呶呶
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.