QMC5883LCompass
QMC5883LCompass copied to clipboard
Added compassflip and compassoffset & fixed declination calculations when using negative values
Added compassflip and compassoffset properties. Very usefull when used with a GPS+compass module. Most of the time this modules have the compass point at 90 degrees offset in comparison with the GPS front. Also fixed the calculation of compass declination when used with negative degrees.
Thank you! I am glad i could help.