Component: Range Time of Flight (VL53L0X) (Light)
From Flowcode Help
(Redirected from Component: ID 488c3a77 9ff2 4e60 9bfd cf074405e294)
Jump to navigationJump to search| Author | MatrixTSL |
| Version | 1.0 |
| Category | Light |
Contents
Range Time of Flight (VL53L0X) component
A laser based range sensor designed to provide accurate range infomation for a very narrow sensing beam. Capable of sensing ranges from 50mm to 1200mm. Communication with the device is based on a I2C bus.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ChangeI2CAddress
| ChangeI2CAddress | |
| Updates the I2C address of the sensor. | |
| Address | |
| UpdateAddressReg | |
| 0=Leave address register alone, 1=Update address register | |
| Return | |
Initialise
| Initialise | |
| Return | |
ReadDistance
| ReadDistance | |
| Read the current distance in mm. Returns -1 if the sensor timed out during the read operation. | |
| Return | |
ReadModel
| ReadModel | |
| Collects the model number from the sensor | |
| Return | |
ReadRegister
| ReadRegister | |
| A simple example showing a generic way to read a register using I2C. | |
| Address | |
| Return | |
ReadRegister16
| ReadRegister16 | |
| A simple example showing a generic way to read a register using I2C. | |
| Address | |
| Return | |
ReadRevision
| ReadRevision | |
| Collects the revision number from the sensor | |
| Return | |
WriteRegister
| WriteRegister | |
| A simple example showing a generic way to write a register using I2C. | |
| Address | |
| Data | |
| Return | |
WriteRegister16
| WriteRegister16 | |
| A simple example showing a generic way to write a register using I2C. | |
| Address | |
| Data | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_RangeTOF_VL53L0X.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_RangeTOF_VL53L0X.fcfx