Modification into 17th July New display demo code

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of Ext_Demo_17July2017_newdis by SenseSemi

Revision:
27:907f8ce0025e
Parent:
26:53ff13a164f3
--- a/sdcard.cpp	Wed Jul 05 15:36:58 2017 +0000
+++ b/sdcard.cpp	Sat Jul 08 04:19:45 2017 +0000
@@ -127,7 +127,7 @@
  }
  
  
- void sd_open_read(int32_t pid)          // opening the file for read
+uint8_t sd_open_read(int32_t pid)          // opening the file for read    // CHNAGED to return value
  {
      
   char buffer1[32];
@@ -136,11 +136,13 @@
   if (fp==NULL)
   {
       snd.printf("no");
+      return 0;
       }
       
       else 
       {
           snd.printf("yes");
+          return 1;
           }
  }