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:
24:d992ee8369f4
Parent:
20:7c64e6ecad76
Child:
29:7edc76b15e3d
--- a/touch_modules.cpp	Fri Jun 23 07:26:55 2017 +0000
+++ b/touch_modules.cpp	Sat Jun 24 10:24:32 2017 +0000
@@ -167,7 +167,7 @@
       
       unsigned char state;
       int8_t type=0;
-       type=eprom_read(3);
+       type=eprom_read_8(30);
                  
                   if ( ((xt >= 35) && (xt<=100)) && ( (yt>= 65) && (yt<= 118) ) ) // RET   //CHANGED 12/06/17// 
                       {
@@ -232,20 +232,20 @@
                        {
                           
                           state=7;
-                          eprom_write(2,0);  
+                          eprom_write_16(20,0);  
                         }
     
                  else if ( ((xt >=130) && (xt<=195)) && ( (yt>= 135) && (yt<= 185) ) ) // pp
                       {
                            state=7;
-                           eprom_write(2,1);    
+                           eprom_write_16(20,1);    
                         
                           
                        }
                  else if ( ((xt >= 35) && (xt<=100)) && ( (yt>= 65) && (yt<= 118) ) ) // random
                       {
                            state=7;
-                           eprom_write(2,2); 
+                           eprom_write_16(20,2); 
                          
                        }
                  else if ( ((xt >= 130) && (xt<=195)) && ( (yt>= 65) && (yt<= 118) ) ) // return