SMBus(1) address = 0x04 def writeNumber(a,b,c,d): bus.write_i2c_block_data(address, a, [b, c, d]) return -1 while True: try: writeNumber(12,42,-5,0) ...
確定! 回上一頁