代码搜索:sbit
找到约 10,000 项符合「sbit」的源代码
代码结果 10,000
www.eeworm.com/read/456463/7348919
c adc0809电压表.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
uchar code tab0[]="AD0809数字电压表";
uchar code tab1[]="Vx = V";
sbit sid=P0^1;//12864数据输入
sbit sck=P0^
www.eeworm.com/read/455740/7367034
c initmodule.c
#include
sbit SENB = P1^2;
sbit SDATA = P1^5;
sbit SCLK = P1^7;
extern delay(unsigned char time);//Delay subprogram.
extern InitModule(void)//Initialize the BD-RF-Module.
{
www.eeworm.com/read/455740/7367255
c initmodule.c
#include
sbit SENB = P1^2;
sbit SDATA = P1^5;
sbit SCLK = P1^7;
extern delay(unsigned char time);//Delay subprogram.
extern InitModule(void)//Initialize the BD-RF-Module.
{
www.eeworm.com/read/455597/7369687
c sh408.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit P1_0=P1^0; // 引脚连接关系
sbit P1_1=P1^1;
sbit P1_2=P1^2;
uchar readclk(uchar addr)
{
uc
www.eeworm.com/read/455588/7369832
c sh102.c
#include
#define uint unsigned int
sbit gate1=P2^0; // 定义P2-0口
sbit gate2=P2^1; // 定义P2-1口
sbit gate3=P2^2; // 定义P2-2口
sbit gate4=P2^3; // 定义P2-3口
void main(v
www.eeworm.com/read/455588/7369835
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/455499/7370612
c xing2.c
#include
#define uchar unsigned char
#define uint unsigned int
sbit LCP=P2^2;
sbit SCP=P2^1;
sbit SI=P2^0;
sbit S1=P2^3;
sbit S2=P2^4;
sbit S3=P2^5;
sbit
www.eeworm.com/read/455392/7372605
c 5_1_2b.c
//模拟救护车闪灯并发出警笛声。程序执行后不断交替输出2个频率的声音,类似救护车的声音。同时闪烁2个灯。
#include //包括一个52标准内核的头文件
sbit P10=P1^0; //LED1
sbit P11=P1^1; //LED1
sbit K1=P3^2; //K1
sbit BEEP=
www.eeworm.com/read/455392/7372637
c 12_2.c
//并口多机通信主要程序代码:
//主机:
#include
……
sbit hand1=P2^1; //与U1单片机的握手信号
sbit hand2=P2^2; //与U2单片机的握手信号
unsigned char idata group1[10];
unsigned char idata group2[10];
unsigned int
www.eeworm.com/read/455025/7379527
c display_led.c
/*
********************************************************************************************************************
*描述: DP-51中LED显示程序文件
*文件名: DISPLAY_LED.C
*应用语言: KEIL C51
*应用系统: R