Difference between revisions of "Component: Gyroscope (EBM009) (EBM Modules)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 48: | Line 52: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 61: | Line 65: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 74: | Line 78: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} |
Revision as of 13:30, 17 November 2021
Author | 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.
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.
Downloadable macro reference
![]() |
GetZ |
Returns the previously sampled Z axis data | |
![]() |
Return |
![]() |
GetY |
Returns the previously sampled Y axis data | |
![]() |
Return |
![]() |
GetX |
Returns the previously sampled X axis data | |
![]() |
Return |
![]() |
SampleDevice |
Reads the Axis data from the device. Returns 0 if successful | |
![]() |
Return |
![]() |
ReadRegister |
Read the data byte at the given address of the device | |
![]() |
Reg |
address of the register to be read | |
![]() |
Return |
![]() |
Initialise |
Initialise the component. Returns 0 if successful | |
![]() |
Return |