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.
Fork of football_project by
Diff: TA.cpp
- Revision:
- 32:64e5d7340d82
- Parent:
- 31:a6110950f385
- Child:
- 33:0fa936c5a098
--- a/TA.cpp Tue Jan 05 13:05:48 2016 +0000
+++ b/TA.cpp Wed Jan 06 16:39:59 2016 +0000
@@ -297,13 +297,13 @@
static unsigned long mem_monitor_start = 0;
static unsigned long last_touch = 0;
-/***
+
if (last_touch == 0 || millis()-last_touch > 3000)
{
- writeToPhone("Touch value: %d\r\n", touch_1); ///
+ //writeToPhone("Touch value: %d\r\n", touch_1);
last_touch = millis();
}
-***/
+
resetTouchIfStuck();
if(powering_up2)
