代码搜索:sbit
找到约 10,000 项符合「sbit」的源代码
代码结果 10,000
www.eeworm.com/read/286571/8758372
c cursor.c
#define _cursor_
#include "general.h"
#include "state.h"
//常量
//#define CEN 2000 //中心
#define STEP 65 //步长
//定义硬件引脚
sbit cs1=P3^2;
sbit cs2=P3^3;
sbit PD=P3^7;
sbit PC=P3^6;
s
www.eeworm.com/read/286547/8759975
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/286547/8760030
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/286547/8760038
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/385841/8786864
c da.c
#include
sbit din = P2^0;
sbit clk = P2^1;
sbit cs = P2^2;
void _del(){}
void da(unsigned int v){
char i = 11;
cs = 1;
_del();
cs = 0;
for ( ; i >= 0 ; i--) {
din =
www.eeworm.com/read/385343/8808425
lst timer.lst
C51 COMPILER V8.02 TIMER 12/04/2008 06:31:25 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE TIMER
OBJECT MODULE PLACED IN T
www.eeworm.com/read/429364/8810033
c 43.c
#include //包含串行处理模块
bit showclocksign;
bit showblocksign;
bit showfensign;
uchar count;
uint second;
uchar paoplace;
uint zongfen;
uchar speed=32;
idata uint free[16];
www.eeworm.com/read/385274/8810647
c fengshan.c
/*************************************************************************
**模块名称: 遥控风扇
**创建人:陈华伟
**日 期:
**修改人:
**日 期:
**功能描述: 通过无线遥控,控制风扇实现定时关机,另外增加控制日光灯。
************设定好的时间可保存,掉电后不用重新设定
**
www.eeworm.com/read/187304/8834450
c main.c
#include "includes.h"
#include "isr.h"
#include "uart.h"
#include "key.h"
#include "display.h"
#include "eeprom.h"
sbit MPH1 = P1^2;
sbit MPM1 = P1^3;
sbit GPS_OFF = P3^6;
sbit CD_U17 = P1^
www.eeworm.com/read/285296/8853303
c 10.3.c
#include //绝对地址访问函数
#include //各种不同类型的数学函数
#include
#define uchar unsigned char
sbit P1_0=P1^0;
sbit P1_1=P1^1;
sbit P1_2=P1^2;
sbit P1_3=P1^3;
sbit P1_4