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.
Diff: main.cpp
- Revision:
- 4:9afa1927a7bb
- Parent:
- 3:71bc9b90ff65
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())