y = bus.read_i2c_block_data(addr,0x07,2) z = bus.read_i2c_block_data(addr,0x05,2) xval = 256*x[2]+x[1] print x, y, z print xval
確定! 回上一頁