aa

Dependencies:   mbed

Revision:
1:b61353e34ace
Parent:
0:e09703934ff4
--- a/main.cpp	Wed Mar 16 01:49:13 2011 +0000
+++ b/main.cpp	Mon Feb 14 11:56:39 2022 +0000
@@ -26,10 +26,8 @@
 
 #include <mpr121.h>
 
-DigitalOut led1(LED1);
-DigitalOut led2(LED2);
-DigitalOut led3(LED3);
-DigitalOut led4(LED4);
+DigitalOut led1(PB_3);
+
 
 // Create the interrupt receiver object on pin 26
 InterruptIn interrupt(p26);
@@ -38,7 +36,7 @@
 Serial pc(USBTX, USBRX);
 
 // Setup the i2c bus on pins 28 and 27
-I2C i2c(p9, p10);
+I2C i2c(PB_6, PB_7);
 
 // Setup the Mpr121:
 // constructor(i2c object, i2c address of the mpr121)