Component: Gyroscope (EBM009) (EBM Modules)
From Flowcode Help
(Redirected from Component: ID 7b1edf74 d0c8 4b1d a8b3 54580ed79f64)
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 | |
- INT | Return |
GetY
GetY | |
Returns the previously sampled Y axis data | |
- INT | Return |
GetZ
GetZ | |
Returns the previously sampled Z axis data | |
- INT | Return |
Initialise
Initialise | |
Initialise the component. Returns 0 if successful | |
- BYTE | Return |
ReadRegister
ReadRegister | |
Read the data byte at the given address of the device | |
- BYTE | Reg |
address of the register to be read | |
- BYTE | Return |
SampleDevice
SampleDevice | |
Reads the Axis data from the device. Returns 0 if successful | |
- BYTE | Return |
WriteRegister