Test program for capacitive sensing using the Freescale MPR121 on the Sparkfun SEN-10250 BoB
Fork of MPR121_HelloWorld by
Hello World program that prints the bit mapped value of the electrode that is detected to the console. Also lights a LED when a press or no press state is detected.
Hardware tested:
https://www.sparkfun.com/products/10250
Platforms tested:
Information
Must add pull-ups to the I2C bus!!
LED indication for LPC1768 & LPC11U24 are opposite of KL25Z. See schematics for details :)
Revision 2:a37fbc835511, committed 2014-10-22
- Comitter:
- sam_grove
- Date:
- Wed Oct 22 15:02:07 2014 -0500
- Parent:
- 1:684222fa16bb
- Commit message:
- added white space
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 684222fa16bb -r a37fbc835511 main.cpp --- a/main.cpp Tue Aug 27 21:43:28 2013 +0000 +++ b/main.cpp Wed Oct 22 15:02:07 2014 -0500 @@ -34,3 +34,4 @@ } } } +