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//
相關文章
相關標籤/搜索