jkjkjkjk

Dependencies:   mbed-rtos mbed

Fork of all_combined_week6 by green rosh

Revision:
7:5cf19bfdbacd
Parent:
3:9b597ed04ef4
diff -r 82153349cc9b -r 5cf19bfdbacd slave.h
--- a/slave.h	Tue Jul 15 10:04:38 2014 +0000
+++ b/slave.h	Thu Jul 17 11:22:41 2014 +0000
@@ -3,4 +3,10 @@
 #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);
+struct SensorData {
+    char voltage[10];
+    char current[10];
+    char temp[10];
+    //float Battery[2];
+};