Simple version of COM_MNG_TMTC_CODE for IITMSAT.

Dependencies:   mbed-rtos mbed FreescaleIAP SimpleDMA

Revision:
170:286ef9dad36a
Parent:
162:48fda0b8d573
Child:
171:31bdf83591a1
--- a/i2c.h	Mon Apr 18 12:18:53 2016 +0000
+++ b/i2c.h	Tue Apr 19 23:00:31 2016 +0000
@@ -19,7 +19,7 @@
     write_ack = master.write(addr_pl|0x00,data2,tc_len2);//address to be defined in payload
     if(write_ack == 1)
     {
-        printf("\n\rdata not sent\n");
+        gPC.printf("\n\rdata not sent\n");
         }
 }
 
@@ -31,10 +31,10 @@
     //t_read.stop();
   
     if(read_ack == 0)
-        printf("\n\rData received from BAE %s \n",data);
+        gPC.printf("\n\rData received from BAE \n");
  if (read_ack == 1)
     {
-        printf("\n \r data not received \n");
+        gPC.printf("\n \r data not received \n");
     }
 //if(read_ack == 1)
 //pc.printf("\n \r data not received \n");