I2C Standard mode vs. fast mode

If I use I2C with the Wire library, does it use the standard mode or fast mode (100 kb/s vs 4000 kb/s)?

How can I choose the standard or fast mode?


It uses 100kb.

You must edit some library source to change it. I can't recall the details, but I'm sure google will turn something up.


Here ya go…

#include <Wire.h>

void setup(){
  // let Wire initialize the Two Wire Interface and interrupts

  // change the clock rate (behind Wires' back)
  TWBR = ((CPU_FREQ / 400000L) - 16) / 2;

  // now we're cookin at 400 Khz... woo hoo!