Difference between revisions of "Component: Gyroscope 3-Axis (L3G4200D) (Movement Orientation)"
From Flowcode Help
Jump to navigationJump to searchLine 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===GetZ=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 92: | Line 95: | ||
+ | ===GetY=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 105: | Line 109: | ||
+ | ===GetX=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 118: | Line 123: | ||
+ | ===SampleDevice=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 131: | Line 137: | ||
+ | ===ReadRegister=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 149: | Line 156: | ||
+ | ===WriteRegister=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 172: | Line 180: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:50, 3 February 2023
Author | Matrix TSL |
Version | 2.0 |
Category | Movement Orientation |
Contents
Gyroscope 3-Axis (L3G4200D) 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_Gyroscope_L3G4200D.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Gyroscope_L3G4200D.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetZ
![]() |
GetZ |
Returns the previously sampled Z axis data | |
![]() |
Return |
GetY
![]() |
GetY |
Returns the previously sampled Y axis data | |
![]() |
Return |
GetX
![]() |
GetX |
Returns the previously sampled X axis data | |
![]() |
Return |
SampleDevice
![]() |
SampleDevice |
Reads the Axis data from the device | |
![]() |
Return |
ReadRegister
![]() |
ReadRegister |
Read the data byte at the given address of the device | |
![]() |
Reg |
address of the register to be read | |
![]() |
Return |
WriteRegister
Initialise
![]() |
Initialise |
Initialise the component. | |
![]() |
Return |