xGoat
More tea please.

Circular Buffering

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.

Posted at 8:14 pm on Wednesday 25th April 2007

Site by Rob Gilton. © 2008 - 2019