Test program for capacitive sensing using the Freescale MPR121 on the Sparkfun SEN-10250 BoB

Dependencies:   MPR121 mbed

Fork of MPR121_HelloWorld by Sam Grove

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 :)

Files at this revision

API Documentation at this revision

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
--- 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 @@
         }            
     }
 }
+