DEMO

Dependencies:   mbed

Fork of MPR121_Demo by jim hamblen

Files at this revision

API Documentation at this revision

Comitter:
niklasjakob
Date:
Mon Jun 12 17:10:20 2017 +0000
Parent:
0:e09703934ff4
Commit message:
MPR

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Mar 16 01:49:13 2011 +0000
+++ b/main.cpp	Mon Jun 12 17:10:20 2017 +0000
@@ -38,7 +38,7 @@
 Serial pc(USBTX, USBRX);
 
 // Setup the i2c bus on pins 28 and 27
-I2C i2c(p9, p10);
+I2C i2c(P0_29, P0_28);
 
 // Setup the Mpr121:
 // constructor(i2c object, i2c address of the mpr121)
@@ -49,8 +49,7 @@
     int i=0;
     int value=mpr121.read(0x00);
     value +=mpr121.read(0x01)<<8;
-    // LED demo mod by J. Hamblen
-    //pc.printf("MPR value: %x \r\n", value);
+    // LED demo mod by J. Hamble
     i=0;
     // puts key number out to LEDs for demo
     for (i=0; i<12; i++) {
--- a/mbed.bld	Wed Mar 16 01:49:13 2011 +0000
+++ b/mbed.bld	Mon Jun 12 17:10:20 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912
+http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f
\ No newline at end of file