title: Configure Linux I2C Speed
body: <p>I am using I2C on the Snowball board, running at 400KHz by default and would like to reduce this to 100KHz.</p>
  
  <p>I use the api defined in  and configure as follows</p>
  
  <pre><code>m_fd = open(m_filename.c_str(), O_RDWR);
  
  if (ioctl(m_fd, I2C_SLAVE_FORCE, m_addr) &lt; 0) 
  {
      throw I2cError(DeviceConfigFail);
  }
  </code></pre>
  
  <p>Does anyone know how I would go about changing the speed to standard mode.</p>
  
  <p>Thanks</p>