代码搜索:delay_ms
找到约 3,401 项符合「delay_ms」的源代码
代码结果 3,401
www.eeworm.com/read/374055/9422705
c main.c
#include "cpu_reg.h"
void Delay_MS(unsigned int ms);
void main()
{
asm(" STM #0000h,CLKMD ");
while(*CLKMD & 0x01 );
asm(" STM #40C7h,CLKMD "); //设置CPU运行频率=100M
/*
www.eeworm.com/read/168148/9936674
c main.c
#include "cpu_reg.h"
void Delay_MS(unsigned int ms);
void main()
{
asm(" STM #0000h,CLKMD ");
while(*CLKMD & 0x01 );
asm(" STM #40C7h,CLKMD "); //设置CPU运行频率=100M
/*
www.eeworm.com/read/360910/10072228
c text1.c
#include
#include "hxq.h"
void delay_ms(unsigned char n)
{
unsigned int i=0;
while(n--)
{
for(i=0;i
www.eeworm.com/read/163869/10141637
txt 新建 文本文档.txt
#include
#include
#include
#define baudrate 0x0033
unsigned char flag1=0x00; //主模式标志
unsigned char flag2=0x00; //从模式标志
unsigned char flag3=0x00; //从模
www.eeworm.com/read/359461/10144690
c lcd.c
/*****************************************************/
/* File name : LCD.c */
/* Description : Code for Nokia 3310LCD, display IC:PCD8
www.eeworm.com/read/355961/10240789
c delay.c
#include
#include "defs.h"
#include "delay.h"
void delay_mS (byte mS)
{
byte i,
j;
for (i = 0; i < 4; i++)
for (j = 0; j < (250/4); j++)
NOP ();
}
www.eeworm.com/read/425294/10365213
c text1.c
#include // 引用头文件,里面包含了一些对51单片机内部寄存器的定义
#define uchar unsigned char //定义unsigned int为uint
#define uint unsigned int //定义unsigned uchar为uchar
sbit en2= P3^0; //PWM信号输出
s
www.eeworm.com/read/351257/10669502
c untitled.c
/*****************************************
*
* MCU : PIC18F2580 *
* 时钟频率:8MHz *
* 设 计:方勇 *
* 修改日期:2008年08月18日 *
* 编译环境:maplab *
* 实验环境:自制实验板
www.eeworm.com/read/159235/10676519
c key.c
#include "reg52.h"
#include "absacc.h"
#define uchar unsigned char
#define word unsigned int
#define LedKey XBYTE[0x4000]
uchar code KeyVal[] =
{
'.', '0', '1', '2', '3', '4', '5', '6',
www.eeworm.com/read/350715/10717053
c test.c
#include
#define uint unsigned int
#define uchar unsigned char
sbit SW1=P1^1;
sbit SW2=P1^0;
void delay_ms()
{
uint t=1000;
while(--t);
}
void main()
{
uchar i=