Trigonometric functions are not working in LPC Xpresso IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trigonometric functions are not working in LPC Xpresso IDE

466件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kannanataraj on Tue Oct 28 03:11:28 MST 2014
I am using LPCXpresso IDE for programming LPC1769, as core library CMSISv2p00_LPC17xx is being used. And I Have chosen REDLIB None by default.

problem that I am encountering, is that, Trigonometric functions are not working, I have included math.h too, its not showing any errors or warning, using of functions like sin, cos, tan and etc returns zero value always.

Any suggestion and help regards to this will be highly appreciated!
0 件の賞賛
返信
3 返答(返信)

413件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Oct 29 04:13:38 MST 2014
Please upgrade your version of LPCXpresso to v7.4.0 - there were some bugs in the trigonometric functions that have been fixed since the version that you are using.
0 件の賞賛
返信

413件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kannanataraj on Wed Oct 29 03:28:28 MST 2014
Hey there,

As you said i am posting my project and core library that i am using along with.

[u]Details as follow.[/u]
IDE version : LPCXpresso v6.0.2 [Build 151] [2013-09-18]

For your ref: kindly look into the mpu6050ReadSensorData()
subroutine



0 件の賞賛
返信

413件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Oct 28 03:47:56 MST 2014
Works here...

Please post your project so we can see what you have done wrong.

p.s. which version of LPCXpresso are you using?
0 件の賞賛
返信