Trying to read data from accelerometer buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I am having issues reading from a accelerometer and I hope yo
might help me (if I should ask this question elsewhere, please tell
me)

What I am trying to do is get data from a buffer (I am using the
source code from iio_readdev as an example) but I can't figure it out
how to interpret the data properly.

I was expecting to get a bunch of numbers related to the X axis but
when it writes to stdout I get a bunch of weird characters, here is
the output:

@������@������������������������������������������������

How can I get values of x, y and z axes?

Is there anything else I should provide? Is there some information missing?

Thanks in advance!
Ibrahim
��.n��������+%������w��{.n�����{��(��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux