
For use in my acoustic touchscreen project, found here: http://hackaday.io/project/1990-Low-Cost-Touchscreen-Anywhere
Diff: main.cpp
- Revision:
- 4:99bd88e2b2e7
- Parent:
- 3:5d221e8f4012
--- a/main.cpp Wed Aug 13 21:25:49 2014 +0000 +++ b/main.cpp Fri Oct 31 19:13:12 2014 +0000 @@ -41,7 +41,7 @@ } }; -Watchdog w; +Watchdog w; //used to reset the microcontroller when/if it halts void flip1(){ if(first){ @@ -75,14 +75,14 @@ led2 = 1; } -void reset1(){ +void reset1(){ //used to reset interrupt 1 if too much time passes t.stop(); t.reset(); first = true; int1.fall(&flip1); } -void reset2(){ +void reset2(){ //used to reset interrupt 1 if too much time passes t.stop(); t.reset(); first = true;