modified to work with MultiTech mDot on UDK2.0
Dependencies: X_NUCLEO_53L0A1 mbed
Fork of HelloWorld_53L0A1 by
Revision 6:1296699f97fc, committed 2017-04-08
- Comitter:
- mfiore
- Date:
- Sat Apr 08 03:45:37 2017 +0000
- Parent:
- 5:029d3e5b117d
- Commit message:
- use D7 instead of D8 - PIN D8 MUST BE JUMPERED TO PIN D7
Changed in this revision
X_NUCLEO_53L0A1.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/X_NUCLEO_53L0A1.lib Tue Dec 06 14:04:46 2016 +0000 +++ b/X_NUCLEO_53L0A1.lib Sat Apr 08 03:45:37 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/X_NUCLEO_53L0A1/#35ecf3e060c3 +https://developer.mbed.org/users/mfiore/code/X_NUCLEO_53L0A1/#15278b8f3381
--- a/main.cpp Tue Dec 06 14:04:46 2016 +0000 +++ b/main.cpp Sat Apr 08 03:45:37 2017 +0000 @@ -21,7 +21,8 @@ DevI2C *device_i2c =new DevI2C(VL53L0_I2C_SDA, VL53L0_I2C_SCL); /* creates the 53L0A1 expansion board singleton obj */ - board=X_NUCLEO_53L0A1::Instance(device_i2c, A2, D8, D2); + //board=X_NUCLEO_53L0A1::Instance(device_i2c, A2, D8, D2); + board=X_NUCLEO_53L0A1::Instance(device_i2c, A2, D7, D2); /* init the 53L0A1 expansion board with default values */ status=board->InitBoard();