Simple, Mbed OS 5.x Ranging example, using only the VL53L1X Time-of-Flight (ToF) sensor on the X-NUCLEO-53L1A1 expansion board. Does Not use Satellite boards.
Dependencies: X_NUCLEO_53L1A1_mbed
tests/README.md@3:f61dd7863e32, 2019-07-24 (annotated)
- Committer:
- johnAlexander
- Date:
- Wed Jul 24 14:18:51 2019 +0000
- Revision:
- 3:f61dd7863e32
- Parent:
- 0:6b7696e7df5e
Update for non-ST boards.; Refactor init_sensor.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
johnAlexander | 0:6b7696e7df5e | 1 | # Testing examples |
johnAlexander | 0:6b7696e7df5e | 2 | |
johnAlexander | 0:6b7696e7df5e | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
johnAlexander | 0:6b7696e7df5e | 4 | |
johnAlexander | 0:6b7696e7df5e | 5 | To run the test, use following command after you build the example: |
johnAlexander | 0:6b7696e7df5e | 6 | ``` |
johnAlexander | 0:6b7696e7df5e | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
johnAlexander | 0:6b7696e7df5e | 8 | ``` |
johnAlexander | 0:6b7696e7df5e | 9 | |
johnAlexander | 0:6b7696e7df5e | 10 | |
johnAlexander | 0:6b7696e7df5e | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
johnAlexander | 0:6b7696e7df5e | 12 |