暗道灰度的方法 #include #define uchar unsigned char #define uint unsigned int bit write=0; //写24C02的标志; sbit sda=P2^0; sbit scl=P2^1; sbit dula=P2^6; sbit wela=P2^7;