It is about one WIMOTION HWT 901B the Z-axis is originally only displayed with 0-180° and -180°-0.
But I need it as an ad 0-360°
Supposedly it needs to be cast to unsigned short instead of short.
Does anyone know where and in which file this is changed?
Thanks and best regards
Heinz
y mod the library... just a in an 'if' statement to do the conversion! ![]()
something like this maybe:
if(val < 0) val = 360 + val;
hope that helps...
Thank you, where can I find the Y mode library?
Or where could that be in a config file?
what library/config file are you referring to?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.