Difference between revisions of "Component: Gyroscope (EBM009) (EBM Modules)"
From Flowcode Help
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
==Gyroscope component== | ==Gyroscope component== | ||
Interface to the L3G4200D three axis digital gyroscope. Panel GUI can be used to simulate incoming data for testing. | Interface to the L3G4200D three axis digital gyroscope. Panel GUI can be used to simulate incoming data for testing. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SENSORS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 26: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 189: | Line 201: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connection | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Line 230: | Line 246: | ||
| colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | | colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | ||
|- | |- | ||
− | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="background-color:# | ||
− | | width="90%" style="background-color:# | ||
|- | |- | ||
|- | |- |
Latest revision as of 17:23, 9 November 2022
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.
Component Pack
SENSORS
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 |