VL53L3CX ranging example application, using X-Nucleo-53L3A2 expansion shield and polling, on MbedOS v6.x

Dependencies:   X_NUCLEO_53L3A2

Revision:
11:6d4d6e9b3729
Parent:
10:6145f8f6527c
Child:
13:c0ef2ae9e6a7
--- a/main.cpp	Fri Apr 30 09:38:57 2021 +0000
+++ b/main.cpp	Fri Apr 30 14:09:56 2021 +0000
@@ -25,7 +25,7 @@
 
 static XNucleo53L3A2 *board=NULL;
 #if (MBED_VERSION  > 60300)
-    UnbufferedSerial  pc(SERIAL_TX, SERIAL_RX);
+    UnbufferedSerial  pc(USBTX, USBRX);
 #else
     Serial pc(SERIAL_TX, SERIAL_RX);
 #endif