I'm having a bit of trouble with my timestamps while printing data to a MegunoLink interface.
As background...I have a sensor that fires an interrupt pin when new data is ready to be read from the sensor FIFO buffer. Then, in my Arduino script, I have an interrupt service routine that timestamps the new data sample. I read the samples from the sensor FIFO buffer and pop the timestamps later for processing.
The problem though is that I seem to miss the interrupt when I'm printing results to MegunoLink. That leads to the wrong time being stamped to the next available sample from the sensor.
Any ideas why I'm missing the interrupt during my print commands? Does this have something to do with the interrupt priority status?
Happy to provide more information if needed!
Thanks for any help!
Support forum for MegunoLink
2 posts • Page 1 of 1