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.
Dependents: TFT_Touch_botao_v1 TFT_Touch_exemplo5_git_touch TESTE_1 TFT_Touch_exemplo6_git_touch_button_3_ ... more
Diff: TouchScreen_kbv_mbed.cpp
- Revision:
- 2:f23dd0aaa0ec
- Parent:
- 1:849734501e5a
diff -r 849734501e5a -r f23dd0aaa0ec TouchScreen_kbv_mbed.cpp
--- a/TouchScreen_kbv_mbed.cpp Mon Apr 26 16:27:29 2021 +0000
+++ b/TouchScreen_kbv_mbed.cpp Mon May 17 08:10:08 2021 +0000
@@ -139,8 +139,8 @@
z = (1023 - (z2 - z1));
// *** these two lines would ensure XM, YP are in Digital mode ***
- //pinModeVal(_xm, 1, 1); // OUTPUT HIGH
- //pinModeVal(_yp, 1, 1); // OUTPUT HIGH
+ pinModeVal(_xm, 1, 1); // OUTPUT HIGH
+ pinModeVal(_yp, 1, 1); // OUTPUT HIGH
return TSPoint_kbv(x, y, z); //XM, YP still in ANALOG mode
}