Component: Gyroscope 3-Axis I2C (L3GD20) (Movement Orientation)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Movement Orientation |
Contents
Gyroscope 3-Axis I2C (L3GD20) component
Interface to the L3GD20 three axis digital gyroscope. Panel GUI can be used to simulate incoming data for testing.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Gyroscope_L3GD20_I2C.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Gyroscope_L3GD20_I2C.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SampleDevice
![]() |
SampleDevice |
Reads the Axis data from the device. | |
![]() |
Return |
GetGyroReading
![]() |
GetGyroReading |
Collects one of the gyroscope readings from the last sample. | |
![]() |
Axis |
0=X, 1=Y, 2=Z | |
![]() |
Return |
ReadRegister
![]() |
ReadRegister |
Read the data byte at the given address of the device | |
![]() |
Reg |
address of the register to be read | |
![]() |
Return |
WriteRegister
Initialise
![]() |
Initialise |
Initialise the component. Returns 0 if successful | |
![]() |
Return |