cdms b4 check

Dependencies:   SDFileSystem mbed-rtos mbed

Fork of CDMS_BAE_1 by sakthi priya amirtharaj

Files at this revision

API Documentation at this revision

Comitter:
sakthipriya
Date:
Wed Mar 11 15:58:24 2015 +0000
Parent:
9:d6623702495b
Commit message:
cdms b4 check

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d6623702495b -r f9d11e047bb1 main.cpp
--- a/main.cpp	Fri Feb 27 19:09:51 2015 +0000
+++ b/main.cpp	Wed Mar 11 15:58:24 2015 +0000
@@ -13,8 +13,8 @@
 Thread * ptr_t_hk;
 Thread * ptr_t_i2c1;
 Thread * ptr_t_i2c;
-/*
-void FUNC_HK_DATA()
+
+/*void FUNC_HK_DATA()
 {
     storedata(data_receive,25);
 }*/
@@ -56,7 +56,8 @@
         i2c_data_r->length = 25;
         i2c_data_receive.put(i2c_data_r);*/
         printf("\n Data received from slave is %s\n\r",data_receive);
-        TC_DECODE(data_receive);
+        storedata(data_receive);
+        //TC_DECODE(data_receive);
     }
 }