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: X_NUCLEO_53L0A1 mbed
Fork of Display_53L0A1 by
Revision 3:f767577b7aab, committed 2018-08-01
- Comitter:
- aveshen
- Date:
- Wed Aug 01 13:26:11 2018 +0000
- Parent:
- 2:4734d8c307b8
- Commit message:
- 5 > 10
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 07 14:33:34 2017 +0000
+++ b/main.cpp Wed Aug 01 13:26:11 2018 +0000
@@ -35,7 +35,7 @@
/* On board 4 digit local display refresh */
void display_refresh(VL53L0X_RangingMeasurementData_t sensor_range_data)
{
- char str[5];
+ char str[10];
if (sensor_range_data.RangeStatus == 0) { // we have a valid range.
sprintf(str, "%d", sensor_range_data.RangeMilliMeter);
