from smbus import SMBus
addr = 0x8 # bus address
bus = SMBus(1) # indicates /dev/ic2-1
bus.write_byte(addr, 0x78) # switch it on
print("Message sent to Arduino.")
Proudly self-hosted by Cole Deck. Fast loading powered by Turbo.