Location:
Search - Delay_time
Search list
Description: 用C编写的微秒级精确延时DLL函数库,通过调用kernel32.dll的QueryPerformanceFrequency()、QueryPerformanceCounter()函数实现。
Platform: |
Size: 94636 |
Author: 王学文 |
Hits:
Description: 用C编写的微秒级精确延时DLL函数库,通过调用kernel32.dll的QueryPerformanceFrequency()、QueryPerformanceCounter()函数实现。-Prepared with C-level precision microsecond delay DLL function library, by calling the kernel32.dll of QueryPerformanceFrequency (), QueryPerformanceCounter () function.
Platform: |
Size: 94208 |
Author: 王学文 |
Hits:
Description: 单片机延时计算小程序,只要输入相应的时间与晶阵,就会输出对应的数值-Small single-chip delay calculation procedures, as long as the input time and the corresponding crystal array, it will output the corresponding numerical
Platform: |
Size: 8192 |
Author: 国风 |
Hits:
Description: void delay(unsigned int delay_time) //延时子程序
{for( delay_time>0 delay_time--)-void delay (unsigned int delay_time)// delay subroutine {for ( delay_time> 0 delay_time-)
Platform: |
Size: 574464 |
Author: |
Hits:
Description: 有刷割草机程序
main()
{
unsigned char i
_asm( sim )
Sys_Init()
DELAY_1S()
Current_Initialize()
FC_test()
Vbat_test()
//DR1()
// Upbridge_ON()
Mos_OFF()
DELAY_time(200)
SET_ABS_Tflag
if(!DATA_status[3])
{
FLASH_enable_write()
FLASH_CR2 = 0x40
FLASH_NCR2 = (unsigned char)~0x40
_asm( NOP )
DATA_status[0]=0X01
DATA_status[1]=0X01
DATA_status[2]=0X01
DATA_status[3]=0X01
_asm( NOP )
read_ID()
_asm( NOP )
ID_ACCdata[0]=LED_NUM
ID_ACCdata[1]=LED_RATE
ID_ACCdata[2]=0XFF
ID_ACCdata[3]=0XFF
_asm( NOP )
FLASH_disenable_write()
}
CLR_ID_FLAG
read_ID()
if((LED_NUM!=ID_ACCdata[0])&&(LED_RATE!=ID_ACCdata[1]))
{SET_ID_FLAG }
AD_RUNInit()
LED_NUM=0X00
LED_RATE=0X00
RUN_num=0x04
VOLIO_ON
bit_break=0x00
VOLdelay_15s=0xFF
TIM1_BKR |= 0x80
TIM1_CR1 |= 0x01 //开启
TIM6_CR1 |= 0x01 //开启
_asm( rim )
while (1)-Brush with the lawn mower
Platform: |
Size: 314368 |
Author: 陆文中 |
Hits: