cal = bus.read_i2c_block_data(addr, 0xAA , 22 ). # Convert byte data to word values. ac1 = get_short(cal, 0 ). ac2 = get_short(cal, 2 ).
確定! 回上一頁