Write to I2C/TWI Hardware

n = twi.wr( dev, txt )
n = twi.wr( {dev,addr}, txt)
n = twi.wr( t, txt)

Parameter Type Description
dev integer Device number
num integer Number of bytes to read
addr integer Internal register to read
t table Table of values. See
Returns Type Description
n integer Number of bytes written
false boolean If failed