Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: freadi help
Replies: 2   Last Post: Jan 28, 2013 10:10 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 17,945
Registered: 12/7/04
Re: freadi help
Posted: Jan 28, 2013 10:10 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"AUC " <AUC@GMAIL.COM> wrote in message
> I'm reading data from accelerometer connected to arduino. if i plot the
> data in the arduino i'm getting the right data. but when i try to see the
> data with the function fread(s)
> i'm getting this vector of numbers (this is just a part of the vector) :
> 56
> 48
> 13
> 10
> 57
> 50
> 56
> 13
> 10
> 56
> 56
> 52
> 13
> 10
> 57
> the question is why do i get that numbers? it dosent match to the data
> that i get in the arduino.

If you convert those ASCII values into characters using CHAR, they
correspond to:


Does that look more like what you expect?

Steve Lord
To contact Technical Support use the Contact Us link on

Date Subject Author
Read Re: freadi help
Read Re: freadi help
Steven Lord

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.