... 8G i2c.write_byte_data(addr, 0x31, 0x08 | 0x02) 4 讀取資料函數。 def axesData(reg): bytes = i2c.read_i2c_block_data(addr, reg, 2) axes = bytes[0] | (bytes[1] ...
確定! 回上一頁