I2C master and slave testing example

Dependencies:   mbed-src

Revision:
0:0c4c8f8e3e04
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/blinky_test.cpp	Fri Aug 14 15:00:28 2015 +0000
@@ -0,0 +1,85 @@
+#include "fw_config.h"
+#if SEL_BLINKY_TEST == 1
+/*
+#include "mbed.h"
+
+DigitalOut pin01  (P0_1);
+DigitalOut pin023 (P0_23);
+DigitalOut pin021 (P0_21);
+DigitalOut pin022 (P0_22);
+DigitalOut pin115 (P1_15);
+DigitalOut pin018 (P0_18);
+DigitalOut pin019 (P0_19);
+DigitalOut pin119 (P1_19);
+DigitalOut pin020 (P0_20);
+DigitalOut pin07  (P0_7);
+DigitalOut pin02  (P0_2);
+DigitalOut pin04  (P0_4);
+DigitalOut pin05  (P0_5);
+
+
+DigitalOut pin08  (P0_8);
+DigitalOut pin09 (P0_9);
+DigitalOut pin010 (P0_10);
+DigitalOut pin011 (P0_11);
+DigitalOut pin012 (P0_12);
+DigitalOut pin013 (P0_13);
+DigitalOut pin014 (P0_14);
+DigitalOut pin015 (P0_15);
+DigitalOut pin016 (P0_16);
+DigitalOut pin017 (P0_17);
+
+void blinky_test() {
+        while(1) {
+        pin01 = 1;
+        pin023 = 1;
+        pin021 = 1;
+        pin022 = 1;
+        pin115 = 1;
+        pin018 = 1;
+        pin019 = 1;
+        pin119 = 1;
+        pin020 = 1;
+        pin07 = 1;
+        pin02 = 1;
+        pin04 = 1;
+        pin05 = 1;
+        pin08 = 1;
+        pin09 = 1;
+        pin010 = 1;
+        pin011 = 1;
+        pin012 = 1;
+        pin013 = 1;
+        pin014 = 1;
+        pin015 = 1;
+        pin016 = 1;
+        pin017 = 1;
+        wait (3);
+        pin01 = 0;
+        pin023 = 0;
+        pin021 = 0;
+        pin022 = 0;
+        pin115 = 0;
+        pin018 = 0;
+        pin019 = 0;
+        pin119 = 0;
+        pin020 = 0;
+        pin07 = 0;
+        pin02 = 0;
+        pin04 = 0;
+        pin05 = 0;
+        pin08 = 0;
+        pin09 = 0;
+        pin010 = 0;
+        pin011 = 0;
+        pin012 = 0;
+        pin013 = 0;
+        pin014 = 0;
+        pin015 = 0;
+        pin016 = 0;
+        pin017 = 0;
+        wait (3);
+    }
+}
+*/
+#endif
\ No newline at end of file