Note when posting code, it should be inside '[' code ']' and '[' /code ']' blocks. Or go to the advanced menu and hit the '#' option in the 2nd button row.

To use i2c on the Teensy 3.1, you need...