program for I2C master device

Dependencies:   mbed

Fork of I2C_HelloWorld_Mbed by mbed official

Revision:
6:6ee93a0f8d24
Parent:
5:8dc6d7d81250
Child:
7:b07706b16279
--- a/main.cpp	Sun Dec 06 21:24:01 2015 +0000
+++ b/main.cpp	Mon Dec 07 21:45:21 2015 +0000
@@ -7,9 +7,10 @@
 }
 
 void write_and_read(){
-    //write_data();    
+    write_data();    
     wait_ms(20);
-    read_data();
+    //read_data();
+    //wait_ms(20);
 }  
 
 void write_data(){