Component: Accelerometer 3-Axis (LIS3LV02DQ) (Movement Orientation)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 2.0 |
Category | Movement Orientation |
Contents
Accelerometer 3-Axis (LIS3LV02DQ) component
LIS3LV02DQ Accelerometer sensor with options for I2C or SPI communications. Useful for approximating Pitch and Roll or for detecting acceleration. Also available in the form of the EB068 Accelerometer E-block.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Accelerometer_LIS3LV0DQ.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Accelerometer_LIS3LV0DQ.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
SimReset1G |
Resets the simulation to 0.0 on X and Y and 1.0 on Z as if the accelerometer was sitting completely horizontal. | |
![]() |
Return |
![]() |
UpdateXYZData |
Reads from the accelerometer and updates the local XYZ variables. Returns 1 for new data and 0 for no new data | |
![]() |
Return |
![]() |
SimSetXYZ |
Allows the XYZ slider values to be set via the simulation | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
![]() |
Initialise |
Sets up up the communication bus and initialises the accelerometer module. Returns 0 for success and > 0 for fail. | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
SimReset1G |
Resets the simulation to 0.0 on X and Y and 1.0 on Z as if the accelerometer was sitting completely horizontal. | |
![]() |
Return |
![]() |
UpdateXYZData |
Reads from the accelerometer and updates the local XYZ variables. Returns 1 for new data and 0 for no new data | |
![]() |
Return |
![]() |
SimSetXYZ |
Allows the XYZ slider values to be set via the simulation | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
![]() |
Initialise |
Sets up up the communication bus and initialises the accelerometer module. Returns 0 for success and > 0 for fail. | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
SimReset1G |
Resets the simulation to 0.0 on X and Y and 1.0 on Z as if the accelerometer was sitting completely horizontal. | |
![]() |
Return |
![]() |
UpdateXYZData |
Reads from the accelerometer and updates the local XYZ variables. Returns 1 for new data and 0 for no new data | |
![]() |
Return |
![]() |
SimSetXYZ |
Allows the XYZ slider values to be set via the simulation | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
![]() |
Initialise |
Sets up up the communication bus and initialises the accelerometer module. Returns 0 for success and > 0 for fail. | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
SimReset1G |
Resets the simulation to 0.0 on X and Y and 1.0 on Z as if the accelerometer was sitting completely horizontal. | |
![]() |
Return |
![]() |
UpdateXYZData |
Reads from the accelerometer and updates the local XYZ variables. Returns 1 for new data and 0 for no new data | |
![]() |
Return |
![]() |
SimSetXYZ |
Allows the XYZ slider values to be set via the simulation | |
![]() |
X |
![]() |
Y |
![]() |
Z |
![]() |
Return |
![]() |
Initialise |
Sets up up the communication bus and initialises the accelerometer module. Returns 0 for success and > 0 for fail. | |
![]() |
Return |