Writes a byte, a word, or other data block to an i2c device.
Arguments
- chip_address
an integer between 0x03 and 0x77. Use i2cdetect -y 1 to identify the address
- data_address
an integer between 0x00 and 0xFF. This will come from the chip documentation
- value
a byte (0xff), a word (0xffff), a SMBus (32 bytes) or I2C Block
- data_size
data_size must be one of "b", "w", "s", or "i"