src/app/arm-teensy3/i2c-bitbang.c
cell i2c_start_write(cell slave, cell reg)
{
  i2c_master_start();
  if (i2c_send(slave<<1))
    return -1;
  if (i2c_send(reg))
    return -1;

  return 0;
}
// Start + slave address + reg#
Start + slave address + reg
Start + slave address + reg
cell i2c_start_write(cell slave, cell reg)
{
  i2c_master_start();
  if (i2c_send(slave<<1))
    return -1;
  if (i2c_send(reg))
    return -1;
  return 0;
}
cell i2c_start_write ( cell slave , cell reg ) { i2c_master_start ( ) ; if ( i2c_send ( slave << 1 ) ) return -1 ; if ( i2c_send ( reg ) ) return -1 ; return 0 ; }
Start + slave address + reg
Start + slave address + reg