I2C0_CONCLR = I2C_CONCLR_MASK;
I2C0_CONSET = I2C_CONSET_I2EN;
+#ifdef FC1025
+ // the Microchip 24FC1025 can handle a 1 Mhz clock
+ // PCLK / (i2c_clock * 2), with 48 Mhz PCLK that's 24...
+ // for AltusMetrum, 14.7456 Mhz xtal, it's 29.4912, use 30.
+ I2C0_SCLL = 30;
+ I2C0_SCLH = 30;
+#else
I2C0_SCLL = 240;
I2C0_SCLH = 240;
+#endif
//
// Initialize the interrupt vector