Raspberry Pi - I2C Communication
Given this code snippet, what will be the output?
from smbus2 import SMBus
bus = SMBus(1)
try:
bus.write_byte_data(0x50, 0x02, 0x10)
print("Command sent")
except Exception:
print("Failed to send")