test
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 |
diff -r 4734d8c307b8 -r f767577b7aab main.cpp --- 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);