![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Driver for Proximity / Ambient Light Sensor VCNL40xx from Vishay
Diff: main.cpp
- Revision:
- 1:cf336a5443e3
- Parent:
- 0:1f3d09f0060a
--- a/main.cpp Sat Nov 30 19:44:13 2013 +0000 +++ b/main.cpp Fri Jul 04 21:31:19 2014 +0000 @@ -28,7 +28,8 @@ #include "mbed.h" #include "VCNL40x0.h" -VCNL40x0 VCNL40x0_Device (p28, p27, VCNL40x0_ADDRESS); // Define SDA, SCL pin and I2C address +//VCNL40x0 VCNL40x0_Device (p28, p27, VCNL40x0_ADDRESS); // Define SDA, SCL pin and I2C address +VCNL40x0 VCNL40x0_Device (p9, p10, VCNL40x0_ADDRESS); // Define SDA, SCL pin and I2C address DigitalOut mled0(LED1); // LED #1 DigitalOut mled1(LED2); // LED #2 DigitalOut mled2(LED3); // LED #3