bae integrated final (may be)

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by Seeker of Truth ,

Revision:
3:02b45de29c0f
Parent:
1:b4bb78a9b92e
Child:
5:255b43e8e21a
--- a/slave.cpp	Tue Dec 02 10:43:24 2014 +0000
+++ b/slave.cpp	Wed Dec 03 06:25:50 2014 +0000
@@ -1,3 +1,4 @@
+/* Added fault to hk structure and being sent through I2C. Need to verify the format */
 #include "slave.h"
 #include "HK.h"
  
@@ -74,7 +75,9 @@
                           write_to_master(Sensor.Temperature[loopvariable2/3]);
                           }         
                       loopvariable2++;
-                       }//while(loopvariable2<30)
+                       }
+                       screen.printf("\nfault %c\n",Sensor.fault);
+                       write_to_master(Sensor.fault);//while(loopvariable2<30)
                        printf("\nExited i2c while loop\n");
                       slave.stop();    
                       loopvariable3=0;