TWI communications library