Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem ds3231 program mbed testUniGraphic_150217
Fork of Int_Demo_01Apr2017_newdisplaycode_bp_nikita by
Revision 12:ab85607bb10a, committed 2017-05-08
- Comitter:
- nikitateggi
- Date:
- Mon May 08 05:19:22 2017 +0000
- Parent:
- 11:9a6545c2eb5d
- Commit message:
- POC code with new display and updated BP
Changed in this revision
| touch_modules.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
}
