This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
p->Speed_pr = _IQdiv(p->SpeedScaler,temp1);为什么我的代码里面 p->Speed_pr=0.0 ?
p->SpeedScaler ==94 ,temp1=11301IQmath 是否需要特殊设置
另外请教 一下
Q 24格式下
_iq test
test =_IQ(1);
地址里面test应该显示多少
地址里test真正的值就是1 x 2^24
IQmath的使用没有什么特殊的设置,你的Speed_pr是个动态值吧,你看到是否是实时值,还是初始值
你的test的值应该显示16777216
我是在代码运行过程中进行中断观察的值,graph观察也是0;
test 我在location里面查看并不是2^24 而是1.0..........
似乎是IQmath不起作用.求助~