#include "reg51.h"#include "intrins.h"sbit SCL= P1^5;sbit SDA= P1^4;delay(){unsigned int i=1200;while(i--);}/*----------------------------------------------------------------------------调用方式:write_8bit(unsigned char ch)函数说明:内函数,私有,用户不直接调用。-----------