value = bus.read_i2c_block_data(address, reg, value) return value while 1: temp_raw = blockread(0x00, 2) #I2Cで温度データ(2byte)を取得. #温度データを整形.
確定! 回上一頁