#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA=
#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA= P1^7 //定义串行数据线所在口 使用时根据自己的需要 #define SomeNOP() {_...
#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA= P1^7 //定义串行数据线所在口 使用时根据自己的需要 #define SomeNOP() {_...
程序名: 24系列EEPROM读写 电路介绍:由p1.7=sda,p1.6=scl 功能操作:按S3加数,按S1将i2c指定地址数据读出、显示,按S2将指定数据写入...
教学打铃系统 变量定义 scl bit p3.3 sda bit p3.2 time0 equ 30H 秒Y time1 equ 31H 时Y time2 equ 32H 分Y time3 equ 33H 十毫秒次数控制Y disp_t00 equ 35H 秒个位Y(右) dis...
英文IEC 61850《变电站通信网络和系统》标准和SCL语言的应用介绍...
本程序使用MSP430F149控制IIC总线EEProm AT24C02;MCU的通用输入输出(GPIO)端口P1.2、P1.3 与AT24C02 的SCL、SDA端口相连接构成I2C总线,因为MSP430F149 内部没有专用的I2C接口电路,所以只能用IO端口来模拟I2C时序从而实现对EEPRO...