I2C通讯的C语言程序

#include <INTRINS.H> #include <stdio.h> #include <reg51.h> sbit SCK=0x91;//时钟线端口 sbit SDA=0x90;//数据线端口 #define  I2C_Address 0xa0 //I2C芯片地址 #define  nop _nop_()   #define  NOP nop;nop;nop;nop;nop;nop//
相关文章
相关标签/搜索