搜索资源列表
U51asm
- 交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯通车,东西红灯。过一段时间转状态2,南北绿灯闪几次转亮黄灯,延时几秒,东西仍然红灯。再转状态3,东西绿灯通车,南北红灯。过一段时间转状态4,东西绿灯闪几次转亮黄灯,延时几秒,南北依然红灯。最后循环至状态1。 2. 双色LED是由一个红色LED管芯和一个绿色管芯封装在一起,公用负端。当红色正端加高电平,绿色正端加低电平,红灯亮;红色正端加低
serialandtimer
- timer of atmega8 uised to create time delay and interrupts
I2c
- 该软件包只用在100K或400K速度的I2C器件,如果用在低速一些的器件(如:ZLG7290)就需要调整运行时间,如在通信过程中增加NOP指令等增加延时时间.-The package is only used in the 100K or 400K speed I2C devices, if used in a number of low-speed devices (such as: ZLG7290) on the need to adjust the running time, such a
SysTick
- stm32中利用系统滴答定时器产生的1ms时基准确延时程序,用于LED灯地闪烁-the use of the system tick timer stm32 produce accurate time-base 1ms delay program for the LED light flashing
18B20
- 单片机读写温度传感器DS18B20,包括精准的延时时序-Literacy MCU temperature sensor DS18B20,Include precise delay time
SoCBasedPWMMotor
- 介绍了基于单片机用PWM实现直流电机调整的基本方法,直流电机调速的相关知识,及 PWM调整的基本原理和实现方法。重点介绍了基于MCS一51单片机的用软件产生PWM信号的途径,并 介绍了一种独特的通过采用计数法加软件延时法实现PWM信号占空比调节的方法。对于直流电机速度控 制系统的实现提供了一种有效的途径。-Introduced based microcontroller PWM DC motor adjusted to achieve the basic method, knowle
Water-lamps-function
- 实现八个流水灯的功能,首先先从左到右,每次只亮一个发光二极光,然后再从右到左,往复循环。LED灯的亮、熄间隔扎500ms,延时时间不大于5 。-Realize the function of eight of flowing water light, first from left to right, each only light a led two lights, and then from right to left, reciprocating cycle. LED lamp light
time-ON-delay
- C++ code for CodeVisionAVR and tiny13 for delay ON timer.
shengyin
- 声音定位,利用三点定位方法,通过三个IO口获取两个延时时间,从而计算出精确位置。-Sound localization, the use of three-point positioning method by three IO port access two delay time to calculate the exact location.
SysTick
- STM32 滴答始终初始化及相关延时函数接口,可用于延时。-STM32 tick always initialization and related time delay function interface, can be used for the delay.
ADzh
- 分别采用延时和查询的方法编写A/D转换程序。 启动A/D转换,将输入模拟量的转换结果在显示器上显示。-Respectively with the method of time delay and query to write A/D conversion program. Start the A/D conversion, the input analog conversion results displayed on the display.
56702-Blink
- DS1 blinks at a rate of approximately 1.5 seconds. * One way to create a delay is to spend time decrementing a value. In assembly, the timing * can be accurately programmed since the user will have direct control on how the * code is d. I
TIMER
- 采用的主控芯片LPC1768系列CORTEX-M3内核处理器,时钟晶振XT=12MHZ,系统时钟96MHZ,外部时钟PLCK.定时器匹配 查询定时器停止位、定时器匹配 查询中断标志:本程序利用定时器产生1S的时间中断,同时切换LED状态,采用查询方式 定时器匹配 定时器硬件延时函数:本程序使用定时器作为硬件延时函数;定时器匹配 定时器硬件延时函数: 本程序利用定时器产生1S的时间中断,同时切换LED状态,采用中断方式;定时器匹配输出:本程序利用定时器产生1S的时间中断,同时切换LED状态-Usi
danpianji
- 应用STC12C5608AD芯片,此芯片自带AD转换,和以前所学的ADC0809有所不同,需要选择I/O的功能,以及特殊功能寄存器的应用 芯片共需要对五个模拟量进行AD转换,不同的变量要存储不同的位置,每次只变化其中一个量,所以调用数据要进行判断选择,只有数值变化才发送数据。 当安卓系统向摇杆发送数据请求,通过数据通讯协议,单片机接收数据,并判断是数据校验出错或请求采样焊接速度和摆枪频率。 当A/D转换完成后,比较数据是否发生变化,若有变化则按照通讯协议发送数据。每次只会有一个数据变
asdfwtw
- 单片机模拟控制交通灯程序,规则如下:当南北通车时,此时南北的绿灯亮,东西的红灯亮,之后南北的绿灯闪烁3次,过后黄灯亮,延时片刻,转东西绿灯亮同时南北红灯亮,之后东西的绿灯闪烁3次,过后黄灯亮,延时片刻;数码管显示的值都同步,结束。-After the green light flashing 3 times, after the yellow light, delay time, turn the green light at the same time north and south red