Modified I2C api to work with NRF's dynamic pin asignment.

Dependents:   Seed_Barometer_Sensor_custom_I2C_lib

Note that the only changes are in the constructor. I tried extending the original I2C class, but could not find away to avoid the i2c_init from being called there.

Revision:
1:6e73259cca6e
Parent:
0:3d97d631d8dd
Child:
2:9d9fc94594e3
--- a/I2CX.h	Wed Oct 22 10:25:32 2014 +0000
+++ b/I2CX.h	Wed Oct 22 10:32:42 2014 +0000
@@ -32,7 +32,7 @@
  *
  * #include "mbed.h"
  *
- * I2C i2c(p28, p27);
+ * I2C i2c(I2C_0, p28, p27);
  *
  * int main() {
  *     int address = 0x62;