MMA8451

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MMA8451

681 次查看
naifarmourad
Contributor I

hello,

I have a problem and I need your help

 

I want to calculate the speed through the accelerometer sensor of freescale KL46Z and I want to save it to an excel file

I want a clear expliquation about the CodeWarrior and C code for this program

thank you.

标签 (1)
0 项奖励
回复
1 回复

610 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Naifar,

I don't think we can print data to .cvs file via c code because there is NO "standard output" in embedded system. User has to implement their own "pseudo" prinf() function, i.e. to format the output in memory and then print out through SCI or CW console window.


however CW can Export Trace to CSV File. you can check it in help file:

2015-04-16_18-49-50.png

can this help?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复