Component: Gyroscope (EBM009) (EBM Modules)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 2.0 |
Category | EBM Modules |
Contents
Gyroscope component
Interface to the L3G4200D 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_EBM009v1.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBM009v1.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Sample program demonstrating the EBM009 Gyroscope Sensor.
The program plots X, Y and Z data onto the LCD screen.
Macro reference
GetX
![]() |
GetX |
Returns the previously sampled X axis data | |
![]() |
Return |
GetY
![]() |
GetY |
Returns the previously sampled Y axis data | |
![]() |
Return |
GetZ
![]() |
GetZ |
Returns the previously sampled Z axis data | |
![]() |
Return |
Initialise
![]() |
Initialise |
Initialise the component. Returns 0 if successful | |
![]() |
Return |
ReadRegister
![]() |
ReadRegister |
Read the data byte at the given address of the device | |
![]() |
Reg |
address of the register to be read | |
![]() |
Return |
SampleDevice
![]() |
SampleDevice |
Reads the Axis data from the device. Returns 0 if successful | |
![]() |
Return |
WriteRegister