Hi,
I'm trying the Qmath library and I have the first problem. All works well (and very fast) when I Debug my code from CCS (lcd display correct values etc..) but, when I reset the LaunchPad removing and replugging the usb cable the library stop to work and all function (also _Q) return 0 (zero).
I'm using:
MSP430G2553
LaunchPad v1.5
CCS v5
this is part of code:
cx= _Q( (rxdata[14]<<8 | rxdata[15]) /k);
cy= _Q( (rxdata[16]<<8 | rxdata[17]) /k);
cz= _Q( (rxdata[18]<<8 | rxdata[19]) /k);
ch= _QtoF(_Qatan2(cx, cz))*k*10;
What I'm doing wrong ?