搜索资源列表
jiaotongdeng
- 考虑横道线的交通灯的控制,设有红,绿两盏信号灯,一般是红的亮,路边设有按钮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 ne
watchdog
- 定时模式:将WDT设置为定时模式产生定时中断,控制P1.0的输出,使LED周期亮灭。 看门狗模式:将WDT设置成看门狗模式,此时,当看门狗定时器溢出时,将会产生复位。 -Timing mode: WDT setting the timing mode timer interrupt, control the P1.0 output, the LED cycle light off. Watchdog mode: WDT set watchdog mode, at this time, w
pwmled
- 基于k60单片机用pwm控制led的亮灭-Based k60 microcontroller pwm control led light off
STM32F103-GPIO
- STM32F103 的控制GPIO口操作,控制LED指示灯的亮灭,,写1,写0-STM32F103 control GPIO port operation, control the LED light off, and write one, write 0
BK-DK5438
- msp4305438的两个程序,一个是串口控制发光二极管的亮灭,另一个是TI公司的DAC5571程序,DA输出电压再通过ADC12把电压读出,用数码管显示出来,还可以实现按键调节电压值。这两个程序纯属自己的原创,并在IAR仿真调试通过,移植起来也很方便。-msp4305438 two programs, one is serial control LED light off, the other is TI' s DAC5571 procedures, DA output voltage
tc1-int9-LED-1s
- AVR单片机教程 自己写的程序,可用,中断控制LED亮灭,LED设计。-AVR microcontroller tutorial write their own programs, available, interrupt control LED light off, LED design.
4-8zuoyi
- LED左移,让你了解8个LED高低电平的切换实现LED亮灭-LED left, to let you know 8 LED high and low switch for LED light off
1.key_led
- C8051F320单片机按键例程,通过一个独立按键(接P0.0)控制7盏led灯的亮灭(按下即为0,led灯亮,反则灭)-C8051F320 MCU button routines, through a separate button (connected P0.0) control 7 led lamp light off (press is 0, led lights, anti then destroy)
asm
- 用试验箱上彩灯亮灭模拟家用电扇控制系统,包括正常、自然风,睡眠、弱风,强风。-With the chamber on the lantern light off simulated home fans control systems, including normal, natural wind, sleep, weak wind, strong wind.
STM32-key_interrupt
- stm32程序采用库函数编程,按键采用扫描查询方式,由按键控制led亮灭,按键接PD5,led接PB0-stm32 procedures using programming libraries, button scanning inquiry, led by the key control light off, key pick PD5, led then PB0
GPIO
- Keil基于LPC2138的程序设计与电路仿真 1. GPIO程序设计与电路仿真 使用P0.0~P0.7的输出功能来控制LED闪烁。采用灌电流的方式驱动LED,即输出低电平时控制LED点亮。 首先运用PINSEL0、PINSEL1寄存器设置所有引脚连接GPIO,使用IO0DIR寄存器设置P0.0~P0.7为控制输出口,运用IO0SET寄存器进行置位操作,通过使用while、for循环语句,同时调用延时程序,利用清零寄存器IO0CLR、置位寄存器IO0SET交替进行操作,驱动L
TIMER
- 6. 定时器程序设计与电路仿真 LPC2138微控制器具有两个32位定时器,分别具有4路捕获收入,4路匹配比较输出,定时器是增量计数的,但溢出时并不会使中断标志置位,而只能通过比较匹配或捕获输入产生中断标志。 定义LED的输出端口,设置所有的引脚连接,使用IO0DIR寄存器定义LED控制口的输出,初始化定时器0,设置定时器0的分频、比较值。等待定时时间到,清除中断标志,通过IO0SET、IO0CLR寄存器控制LED的亮灭。 -6 Timer program design and ci
main
- 测量室温,用p1.0和p1.6的亮灭表示温度的十位,个位~-Measured at room temperature, with the p1.0 and p1.6 light off indicates the temperature of ten, a bit ~
wireless
- 基于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 o
Lights-synchronized-flow
- 八个发光二极管先同时亮灭两次,再从右向左依次灭,再从左向右依次灭-Eight light-emitting diode light off twice while first, and then turn off right to left, left to right and then turn off
lesson5_1
- 89c51的定时器开发程序 用于定时器控制数码管的亮灭-Development program for 89c51 timer digital timer control light off
stm32
- stm32外部中断,进入中断后点亮小灯,让小灯实现亮灭-stm32 external interrupts, after entering the interrupt lit a small lamp, so that small lights to achieve light off
INT0-control-LED
- 89c52的INT0基本应用,控制一个LED灯的亮灭,可以收藏用于以后扩展-The INT0 89c52 basic application, control an LED light off, collections for future expansion
source
- 本程序采用F2812作为控制器,实现6个小led灯一次亮灭,使用GPIOA0-A5输出口-The program uses F2812 as a controller, 6 small led lights to achieve a light off, use GPIOA0-A5 output port
Button_led_flashing
- 在IAR环境下编写msp430f4152源码,通过单片机开发板上的按键来控制发光二极管的亮灭。-In the IAR environment to prepare msp430f4152 source, SCM development board buttons to control LED light off.