Dummy program to demonstrate problems: working code

Dependencies:   SLCD mbed-rtos mbed

Fork of MNG_TC by Shreesha S

Revision:
6:6e9ae3b44e60
Parent:
4:f95195748a0c
Child:
7:e71ecfe3a340
--- a/COM_RCV_TC.h	Thu Jun 25 10:10:23 2015 +0000
+++ b/COM_RCV_TC.h	Sat Jul 04 13:22:07 2015 +0000
@@ -41,9 +41,12 @@
     unsigned char read_byte(unsigned char* shift_in)
     {
         unsigned char byte;
-//        byte = VAR_SPACE::data[x++];
-        byte = VAR_SPACE::data_node->val;
-        VAR_SPACE::data_node = VAR_SPACE::data_node->next;
+        byte = VAR_SPACE::data[x++];
+//        byte = VAR_SPACE::data_node->val;
+//        VAR_SPACE::data_node = VAR_SPACE::data_node->next;
+        
+//        ++x;
+
         *shift_in = 0;
     
         return byte;
@@ -164,7 +167,7 @@
 //            printf("inside last frame\r\n");
             while (flag == 0)
             {
-//                printf("entered flag 0\r\n");
+                printf("entered flag 0\r\n");
                 if (fifo_byte != 0x7E)//check for initial 0x7E, else discard and take next byte   //here I am checking byte wise instead of bitwise!!!
                 {
                     count_down++;