PCに0.5秒毎にLux&mm表示、Board=LPC1768、I2C・・・SDA=p9,SCL=p10、Serial=USBTX,RX
Fork of VL6180X by
Revision 2:442bc2544f14, committed 2016-10-31
- Comitter:
- nagaoe2
- Date:
- Mon Oct 31 16:08:28 2016 +0000
- Parent:
- 1:126b6cd0f4f5
- Commit message:
- VL6180X_DEMO
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 126b6cd0f4f5 -r 442bc2544f14 main.cpp --- 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 = ");