PCに0.5秒毎にLux&mm表示、Board=LPC1768、I2C・・・SDA=p9,SCL=p10、Serial=USBTX,RX
Fork of VL6180X by
Diff: main.cpp
- Revision:
- 2:442bc2544f14
- Parent:
- 1:126b6cd0f4f5
--- a/main.cpp Sun May 10 19:10:32 2015 +0000 +++ b/main.cpp Mon Oct 31 16:08:28 2016 +0000 @@ -41,7 +41,8 @@ VL6180xIdentification identification; // mbed uses 8bit addresses shift address by 1 bit left -VL6180x sensor(D14, D15, VL6180X_ADDRESS<<1); +//VL6180x sensor(D14, D15, VL6180X_ADDRESS<<1); +VL6180x sensor(p9, p10, VL6180X_ADDRESS<<1); void printIdentification(struct VL6180xIdentification *temp){ printf("Model ID = ");