MMA8451

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMA8451

418 Views
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.

Labels (1)
0 Kudos
1 Reply

347 Views
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 Kudos