something to get started
http://www.melabs.com/resources/samp...p/i2cslave.bas
http://www.melabs.com/resources/samples/pbp/i2cmast.bas