I2C master and slave testing example

Dependencies:   mbed-src

Revision:
0:0c4c8f8e3e04
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Aug 14 15:00:28 2015 +0000
@@ -0,0 +1,30 @@
+#include "fw_config.h"
+#include "mbed.h"
+
+
+
+#if SEL_BLINKY_TEST == 1
+void blinky_test();
+#endif
+
+#if SEL_I2C_3200_TEST == 1
+#if SEL_I2C_SLAVE_MODE == 1
+void i2c_3200();
+#else
+void i2c_3200_master();
+#endif
+#endif
+
+
+int main() {
+#if SEL_I2C_3200_TEST == 1
+#if SEL_I2C_SLAVE_MODE == 1
+    i2c_3200();
+#else
+    i2c_3200_master ();
+#endif
+    while (1) {}
+#endif
+}
+
+