代码搜索:sbit
找到约 10,000 项符合「sbit」的源代码
代码结果 10,000
www.eeworm.com/read/243968/12903150
c sh101.c
#include
sbit gate=P2^0; // 定义P2-0口
void main(void)
{
unsigned int i,j;
while(1)
{
for(i=1000;i>0;i--)
for(j=1000;j>0;j--); // 双重循环,延时约1秒
gate=!gate; // 对P-0口取反,控制小灯的
www.eeworm.com/read/330009/12919838
h testregs.h
#ifndef TESTREGS_H
#define TESTREGS_H
#ifndef TESTHEADER_H
#error include 'testheader.h' before including this file.
#endif
sfr SP = 0x81;
sfr DPL = 0x82;
sfr DPH = 0x83;
sf
www.eeworm.com/read/330009/12920394
h testregs.h
#ifndef TESTREGS_H
#define TESTREGS_H
#ifndef TESTHEADER_H
#error include 'testheader.h' before including this file.
#endif
sfr SP = 0x81;
sfr DPL = 0x82;
sfr DPH = 0x83;
sf
www.eeworm.com/read/142783/12922420
c display_led.c
/*
********************************************************************************************************************
*描述: DP-51中LED显示程序文件
*文件名: DISPLAY_LED.C
*应用语言: KEIL C51
*应用系统: R
www.eeworm.com/read/142315/12952185
c key.c
#include"reg52.h"
#define uchar unsigned char
sbit a1=P2^4;
sbit a2=P2^5;
sbit a3=P2^6;
sbit a4=P2^7;
sbit R1=P3^5;
sbit R2=P3^6;
sbit R3=P3^7;
uchar RR;
void delay()
{uchar i,
www.eeworm.com/read/142315/12952204
c lcd.c
#include"reg52.h"
#define uchar unsigned char
sbit RS=P2^0;
sbit RW=P2^1;
sbit E=P2^2;
void delayl()
{uchar i,j;
i=0xff;
j=0x0a;
while(i--)
while(j--);
}
void dela
www.eeworm.com/read/243237/12953553
c display_led.c
/*
********************************************************************************************************************
*描述: DP-51中LED显示程序文件
*文件名: DISPLAY_LED.C
*应用语言: KEIL C51
*版本 :
www.eeworm.com/read/329463/12954104
c display_led.c
/*
********************************************************************************************************************
*描述: DP-51中LED显示程序文件
*文件名: DISPLAY_LED.C
*应用语言: KEIL C51
*应用系统: R
www.eeworm.com/read/243155/12958686
c xian_595.c
#include
#include
#define uchar unsigned char
sbit r_595 =P1^0; //输入信号
sbit sck_595=P1^1; //输入时钟
sbit rck_595=P1^2; //输出时钟
www.eeworm.com/read/243106/12963160
h lpregs.h
//-----------------------------------------------------------------------------
// File: lpregs.h
// Contents: EZ-USB FX2LP/FX1 register declarations and bit mask definitions.
//
// $Arc