#include#include"I2C.h"typedefunsignedcharuchar;typedefunsignedintuint;externunsignedintInitdata[4];uintresult_gd=0;/*******************Config寄存器*********************/voidConfige_1115(ucharchannel){uchari=0;switch(channel){case0:Initdata[2]=0xc2;break;