I just changed the buffer that the Gumsense firmware uses to store data to be circular. This means that it can continue sampling whilst data is being read out of it. So, no “lost” data.
When the Gumstix requests that the Gumsense clears all the current readings, it now clears only the ones that the Gumstix has read out.
I know I said that I’d finished. I found a bug in the code for reading data out of the Gumsense. I’ve fixed that now. I thought whilst I was at it I’d scratch this itch.
Site by Rob Gilton. © 2008 - 2019