代码搜索:sbit
找到约 10,000 项符合「sbit」的源代码
代码结果 10,000
www.eeworm.com/read/344106/11908587
c ds1302.c
/************************************/
/*ds1302+ds18b20温度时钟 */
/*目标器件:AT89S51 */
/*晶振:11.0592MHZ */
/*编译环境:Keil 7.50A */
/*串口修改时间的格式为:以a开头加年 */
/*加月加日加星期加时
www.eeworm.com/read/344104/11908658
c main.c
# include
# define uchar unsigned char
# define uint unsigned int
uint a,b,c,d,n;
sbit p12=P1^2;
sbit p13=P1^3;
sbit p37=P3^7;
void timer0(void) interrupt 1 using 1
{p12=!p12;
c=2000
www.eeworm.com/read/344072/11910193
lst ex3.lst
C51 COMPILER V7.50 EX3 12/12/2007 20:04:00 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE EX3
OBJECT MODULE PLACED IN EX3
www.eeworm.com/read/257820/11911239
c ads7816.c
#include
#include
#include
#include
sbit DCLK=P1^1;
sbit Dout=P1^0;
sbit CE= P1^2;
sbit red=P2^7;
sbit green=P2^5;
void DelayMs(unsigned int ms)
www.eeworm.com/read/257784/11912228
txt at24c0x.txt
我用at24c02 .我的程序运行后,可读写;但是读出后发现每个字节都左移一位,且最低位为1。我推测两种可能:1、读错 2、写错。
经试验不可能是读错,但为什么会写错呢?(写地址是对的),还有其他可能吗?
****************************************************************************
#include
www.eeworm.com/read/257784/11912260
bak at24c01.c.bak
#include
#include "intrins.h"
#define uchar unsigned char
#define uint unsigned int
uchar bdata buffer;
sbit SDA = P3^5; /*串行数据*/
sbit SCL = P3^4; /*串行时钟*/
sbit WP = P3^3; /
www.eeworm.com/read/257784/11912286
txt at24c0x.txt
#include
#include "intrins.h"
#define uchar unsigned char
#define uint unsigned int
#define AddWr 0xae /*器件地址选择及写标志*/
#define AddRd 0xaf /*器件地址选择及读标志*/
/*有关全局变量*/
uchar bdata b
www.eeworm.com/read/257784/11912304
lst at24c02.lst
C51 COMPILER V7.06 AT24C02 12/05/2003 14:04:57 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE AT24C02
OBJECT MODULE PLACED IN
www.eeworm.com/read/343972/11915015
lst 7219.lst
C51 COMPILER V7.05 7219 04/02/2004 13:43:12 PAGE 1
C51 COMPILER V7.05, COMPILATION OF MODULE 7219
OBJECT MODULE PLACED IN 72
www.eeworm.com/read/257652/11917338
h io.h
#include
#include
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
//#define wdt() WDT_CONTR = 0X37