check program for VL53L0X_simple library
Dependencies: VL53L0X_simple TextLCD
Please refer below page.
/users/kenjiArai/notebook/vl53l0x-tof-sensor/
Diff: check_revision.cpp
- Revision:
- 3:1be17b18b200
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_revision.cpp Mon Feb 24 11:22:18 2020 +0000 @@ -0,0 +1,21 @@ +/* + * Check Mbed revision + * + * Copyright (c) 2019,'20 Kenji Arai / JH1PJL + * http://www7b.biglobe.ne.jp/~kenjia/ + * https://os.mbed.com/users/kenjiArai/ + * Created: July 17th, 2019 + * Revised: Feburary 24th, 2020 + */ + +#include "mbed.h" + +// RUN ONLY ON mbed-os5.15.1 +// https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.1 +#if (MBED_MAJOR_VERSION == 5) &&\ + (MBED_MINOR_VERSION == 15) &&\ + (MBED_PATCH_VERSION == 1) +#else + //#warning "Please use Mbed-os5.15.1" + #error "Please use Mbed-os5.15.1" +#endif