搜索资源列表
U51asm
- 交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯通车,东西红灯。过一段时间转状态2,南北绿灯闪几次转亮黄灯,延时几秒,东西仍然红灯。再转状态3,东西绿灯通车,南北红灯。过一段时间转状态4,东西绿灯闪几次转亮黄灯,延时几秒,南北依然红灯。最后循环至状态1。 2. 双色LED是由一个红色LED管芯和一个绿色管芯封装在一起,公用负端。当红色正端加高电平,绿色正端加低电平,红灯亮;红色正端加低
LED_TEST
- 关于在ARM芯片4510开发板上的LED试验程序的源码.来测试连接在通用I/O接口上的LED灯的控制程序,利用了4510芯片内部的定时器中中断来实现,LED灯的循环.-on the ARM chip in 4510 to mark the development of test procedures for the LED source. To test the common link I / O interface on the LED lights control procedures, u
plane_complete
- 基于ucgui的打飞机程序 通过扫描按键控制我机移动(只有4个按键,我们就设置了前后左右4个方向按键,子弹设为自动发射) 敌机移动通过rand函数产生(设敌机最大数为ENEMYMAXNUM,只要低于这数,每次循环就产生敌机否则不生成敌机.敌机只会在Y轴移动,如果敌机与我机相撞,,则发生爆炸) 敌机子弹生成与移动(每架敌机子弹数最多为BULLETMAXNUM,低于这个值,每个循环都会在飞机正前方产生一颗子弹,在Y轴方向移动SPEED.Y.如果子弹碰到我机,则发生爆炸,LIFE减
sd600f_two_chip
- 用单片机控制两片SD600,实现单灯由暗到亮,再由亮到暗,一直循环。采用C写的仅仅为测试程序,比较适合初学者,可以参考-With the SCM control two SD600, single-light from dark to light, and then from light to dark, has been circulating. Written using C only for the test procedure more suitable for beginners, y
shurushuchuduankongzhishiyan
- 用P1口作为输出口,接8位用作逻辑电平显示的发光二极管。设计程序使发光二极管从上到下循环轮流点亮。-With the P1 port as output port, then the logic level for 8-bit LED display. Design process cycle of rotation from top to bottom so that light emitting diodes.
1602
- LCD1602循环右移显示Welcome to China的c语言源程序,针对at89s52型单片机 -Rotate right LCD1602 display Welcome to China c language source code for at89s52 MCU
KEY
- 键盘程序 出口:A,为键码值 占用:R0,R2,R4,R6,R7,2字节堆栈 此子程序没有键盘扫描功能,要实现键盘扫描,需要在主程序中循环调用-Keyboard program exit: A, for keycode occupation: R0, R2, R4, R6, R7, 2 bytes of stack not the keyboard scanning function of this subroutine to achieve the keyboard scanni
LPC2106
- LPC2106嵌入式7盏流水灯循环点亮,适合刚学的同学-LPC embedded flowing water light, and light, suitable for just learned of students
exm7
- 编写程序实现:开启内部看门狗,单片机的D口控制发光二极管循环右移位,实现流水功能,并及时喂狗。当按键SW2按下时,程序进入死循环,等待看门狗自复位。-Write a program to achieve: open internal watchdog, SCM D port control cyclic right shift of the light-emitting diode, pipelining feature, and feed the dog in a timely manner.
led
- arm9的LEd灯点亮程序,4个LED全亮1秒后全灭,再过1秒全亮,如此循环-arm9 the the LEd lights lit program, four LED full brightness for one second all off, one second later full brightness, so the cycle
LED-4
- 用移位的方式编写的适合51单片机的流水灯循环程序-Approach to the preparation of the shift of the light water for 51 MCU cycle program
base-of-51
- 在数码管上实现0——60循环显示数字,每秒加一-In the digital tube to achieve 0- 60 cycles for display numbers, plus a second
Mono-Chip-Computer
- 单片机交通灯模拟!交通灯的控制设计,所以要了解实际交通灯的变化情况和规律。假设一个十字路口为东西南北走向。初始状态 0 为东西红灯,南北红灯。然后 。过一段时间转状态 2 南北绿灯灭,黄灯闪烁几次,东转状态 1 东西红灯,南北绿灯通车,西仍然红灯。再转状态 3,东西绿灯通车,南北红灯。过一段时间转状态 4,东西绿灯灭,闪几次黄灯,南北仍然红灯。最后循环至状态 1。 -SCM traffic simulation. Traffic lights control design, so to unde
STM32PWMCode
- 基于STM32的32位为控制器的生成PWM波形的详细的C程序代码工程文件。本代码实现如下功能:利用TIM3的通道2(PA7)产生PWM来控制DS0的亮度,实现DS0从 暗->亮->暗的循环变化。-Detailed engineering documents C code based STM32 32-bit controller for PWM waveform generation. This code implements the following functions: use
Lock
- 用STC单片机,实现4个数字4位密码锁的功能,并显示在数码管上。具体如下K1,K2,K3,K4,键分别代表数字1,2,3,4,K5为确认键,如果输入用户存放的正确密码,则单片机上的LED实行循环亮灭功能,如输错了3次,LED等则全亮。- Use of STC to achieve four digits 4 lock function, and displayed on a digital pipe. Follows K1, K2, K3, K4, representing key figu
51nrf905
- nRF905 是挪威 Nordic VLSI 公司推出的单片射频收发器,工作电压为 1.9 ~3.6V, 32 引脚 QFN 封装 (5×5mm),工作于 433/868/915MHz 三个 ISM(工业、科学和医学)频道,频道之间的转换时间小于 650us。 nRF905 由频率合成器、接收解调器、功率放大器、晶体振荡器和调制器组成,不需外加声表滤波器, ShockBurstTM 工作模式,自动处理字头和 CRC(循环冗余码校验),使用 SPI 接口与微控制器通信,配置非 常方便。此外,
CC2430
- CC2430无线模块的学习套件的范例代码,包含AD通道单次循环,IO口全测试,串口通信,点对点无线通讯等源代码,很适合初学ZigBee无线网络的同学。-Learning Suite sample code CC2430 wireless module, including AD channel single cycle, IO mouth full test, serial communications, point to point wireless communications source