rascalmicro/pytronics — pull request #4 by dsmall (2012-07-11 09:01:44+00:00)
Title: Change i2cWrite to support short write

i2cwrite(chip_addr, reg_addr, value, mode)
chip_addr and reg_addr must be supplied
If mode is omitted it defaults to B (write byte)
If value and mode are omitted, mode defaults to C (write short)

Thus i2CWrite(0x29, 255) will do a short write to chip 0x29, register 255

Please test