Component: Gyroscope 3 Axis SPI (L3GD20) (Movement & Orientation)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 2.0 |
Category | Movement & Orientation |
Contents
Gyroscope 3-Axis SPI (L3GD20) component
Allows access to a three axis digital gyroscope via an SPI interface. Useful for gaming, VR, motion control, navitagion and robotics.
Component Pack
SENSORS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
SampleDevice |
Collects the gyro readings from the device. | |
![]() |
Return |
![]() |
GetGyroReading |
Collects one of the gyroscope readings from the last sample. | |
![]() |
Axis |
0=X, 1=Y, 2=Z | |
![]() |
Return |
![]() |
ReadRegister |
Reads a single register from the gyroscope and returns the value as a byte. | |
![]() |
Address |
![]() |
Return |
![]() |
WriteRegister |
Writes a single register on the gyroscope. | |
![]() |
Address |
![]() |
Data |
![]() |
Return |
![]() |
Initialise |
Initialises the SPI bus ready to communicate with the sensor. | |
![]() |
Return |