Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed VL53L3ExpansionBoard
Revision 2:b8a783991859, committed 2020-10-19
- Comitter:
- charlesmn
- Date:
- Mon Oct 19 08:57:07 2020 +0000
- Parent:
- 1:cb15c3f78f5d
- Commit message:
- More name changes
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Oct 19 08:54:34 2020 +0000 +++ b/main.cpp Mon Oct 19 08:57:07 2020 +0000 @@ -13,7 +13,7 @@ #include <stdio.h> #include "mbed.h" -#include "XNucleo53L1A1.h" +#include "XNucleo53LX.h" #include "vl53L3_I2c.h" #include <time.h> @@ -23,7 +23,7 @@ #define MEASUREMENTTIMING 55 -static XNucleo53L1A1 *board=NULL; +static XNucleo53LX *board=NULL; Serial pc(SERIAL_TX, SERIAL_RX); static int int_centre_result = 0; @@ -122,7 +122,7 @@ // printf("I2C device created! %d %d\r\n",dev_I2C,*dev_I2C); /* creates the 53L1A1 expansion board singleton obj */ - board = XNucleo53L1A1::instance(dev_I2C, A2, D8, D2); + board = XNucleo53LX::instance(dev_I2C, A2, D8, D2); printf("board created!\r\n"); /* init the 53L1A1 expansion board with default values */