working code of bae with i2c

Dependencies:   mbed-rtos mbed

Fork of all_combined_week6 by green rosh

Revision:
7:47e07755d9a4
Parent:
3:9b597ed04ef4
diff -r 82153349cc9b -r 47e07755d9a4 slave.h
--- a/slave.h	Tue Jul 15 10:04:38 2014 +0000
+++ b/slave.h	Thu Sep 18 10:29:33 2014 +0000
@@ -1,6 +1,23 @@
 #include "mbed.h"
+
+int FUNC_I2C_SLAVE_MAIN(int iterations);
+void write_to_master(char);                    //function to write data to master
+
+
+
+
+
+
+
+
+
+
+
+
+
+/*#include "mbed.h"
 #define WriteGeneral 3
 #define ReadAddressed 1
 #define slave_address 0x20
 void write_to_master(char);                    //function to write data to master
-void FUNC_I2C_SLAVE_MAIN(int iterations);
\ No newline at end of file
+void FUNC_I2C_SLAVE_MAIN(int iterations);*/
\ No newline at end of file