Modification into 17th July New display demo code
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of Ext_Demo_17July2017_newdis by
Diff: touch_modules.cpp
- Revision:
- 12:ab85607bb10a
- Parent:
- 11:9a6545c2eb5d
- Child:
- 20:7c64e6ecad76
--- a/touch_modules.cpp Wed May 03 08:49:30 2017 +0000 +++ b/touch_modules.cpp Mon May 08 05:19:22 2017 +0000 @@ -56,7 +56,7 @@ state=2; } - else if ( ((xt >=70) && (xt<=170)) && ( (yt>=80) && (yt<=140) ) ) // test + else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // test { state=3; } @@ -150,7 +150,7 @@ state=8; } - else if ( ((xt >=70) && (xt<=170)) && ( (yt>=90) && (yt<=140) ) ) // RETURN + else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN { state=3; } @@ -167,7 +167,7 @@ unsigned char state; - if ( ((xt >=70) && (xt<=170)) && ( (yt>=85) && (yt<=140) ) ) // press on return box + if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // press on return box { state=3; } @@ -190,7 +190,7 @@ state=9; } - else if ( ((xt >=70) && (xt<=170)) && ( (yt>=90) && (yt<=140) ) ) // RETURN + else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN { state=3; } @@ -212,7 +212,7 @@ state=7; } - else if ( ((xt >=70) && (xt<=170)) && ( (yt>=85) && (yt<=140) ) ) // RETURN + else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN { state=3; }