Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Revision:
27:7110ebee3484
Parent:
22:9114680c05da
Child:
43:aff670d0d510
--- a/I2C.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/I2C.h	Tue Nov 29 14:59:27 2011 +0000
@@ -1,11 +1,14 @@
 /* mbed Microcontroller Library - I2C
- * Copyright (c) 2007-2009 ARM Limited. All rights reserved.
- * sford
+ * Copyright (c) 2007-2011 ARM Limited. All rights reserved.
  */ 
  
 #ifndef MBED_I2C_H
 #define MBED_I2C_H
 
+#include "device.h"
+
+#if DEVICE_I2C
+
 #include "platform.h"
 #include "PinNames.h"
 #include "PeripheralNames.h"
@@ -134,3 +137,6 @@
 } // namespace mbed
 
 #endif
+
+#endif
+