A simple touch sensor that sends a message to computer when it notices touch. I'm using a simple voltage divider with 10k resistor and body impedance.
Revision 4:9afa1927a7bb, committed 2014-02-06
- Comitter:
- tanssisatu
- Date:
- Thu Feb 06 07:39:34 2014 +0000
- Parent:
- 3:71bc9b90ff65
- Commit message:
- REV2.000000001
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 71bc9b90ff65 -r 9afa1927a7bb main.cpp --- a/main.cpp Thu Feb 06 07:25:45 2014 +0000 +++ b/main.cpp Thu Feb 06 07:39:34 2014 +0000 @@ -17,7 +17,8 @@ { while (1) { - + // Tallentaa pitchin + // Tallentaa painallukset for (i = 0; i < 9; i++) { if (input = key[i].read())