You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • Hello, nice, just checked it briefly and I am not sure about the 64bit time in processSample, what is the precision? miliseconds? can it be 32bit? or can I perhaps set frequency once? or send zero if this is just next sample with no delay. I guess I get batch of values from kx023 per interrupt but don't know the time, but values are probably spaced evenly with some preset frequency. But I guess I can start with time zero and then just increment 64bit value by some constant with each sample.

    EDIT: also looking into the code and ther is 64bit math used, is this really needed?, wouldn't 32bit integer or possibly 32bit float type be enough for such task?

    x,y,z data from kx023 is only 16bit

About

Avatar for fanoush @fanoush started