Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.