data = bus.read_i2c_block_data( 0x48 , 0x00 , 2 ). msb = data[ 0 ]. lsb = data[ 1 ]. T = ((msb<< 8 )|lsb)>> 4. temp = T * 0.0625.
確定! 回上一頁