Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
0B18 8 Byte Gyro suction in inches of mercury (Hg), floating point double
0C3E 2 Gyro drift amount ( *360/65536 for degrees).
Note that whilst it may appear that the value is accurate to
fractions of a degree, the actual setting capability (via an event)
is based on whole degrees, just like the INC/DEC controls. Any
value written here will normally be read back slightly
differently, based upon this granularity.
2B00 8 Gyro compass heading (magnetic), including any drift.
64-bit floating point.
COMP = ipc.readDBL(0x2B00)
GYOBEAR = ipc.readUW(0x07CC)
GYROHEAD = (360 - COMP) + ((GYOBEAR * 360) / 65536)