Graynomad:
One problem you have is that you send 8+ bytes for every sample. Is it necessary to format the data like that?Apart from that you should be able to do the two by interleaving the sampling with the serial output by using a circular buffer or double buffering.
Rob
Well, I might as well use byte data types instead of ints. Actually I thought about it but abandoned soon. Ok, I'll give it a try. I never heard of double or circular buffering. I'll study a bit on it. Meanwhile, can you show me some examples of the same?