This example shows how to write commands to an I2C device using a Raspberry Pi. First, the smbus library is imported to access I2C functions. Then, the I2C bus 1 is opened by creating an SMBus object. The device address is set to 0x20. Using the write_byte method, the byte 0xFF is sent to the device at that address. The smbus.SMBus object does not require explicit closing; resources are managed by the OS. Each step is important: opening the bus creates the communication channel, setting the correct address targets the right device, and writing sends the command. If the address is wrong, the device won't respond. Forgetting to close the bus does not cause resource conflicts because closing is not needed. This step-by-step flow helps beginners see how commands are sent to I2C devices on Raspberry Pi.