I'm writing Arduino application which has timer interrupt to acquire ADC value. Main loop has serial transmission procedure to send data from buffer.
I'm not sure how to store data in buffer. Best way would to have queue, but Arduino has so less memory. I will connect SPI Static RAM for my buffer. And this memory has only write/read data at index.
I have only buffer. And I need to add values and removes in FIFO order. So how to solve this problem ?
Thanks