camerart
Well-Known Member
Hi,
I'm learning INTERRUPTS on 18LF4620 PIC and Oshonsoft.
So far I've been using linear buffers, but a couple of friends suggested ring buffers, and one of them has been helping me write CODE for Oshonsoft.
What are the pros and cons of ring buffers over linea ones? On the PIC there is a limited amount of memory, and wonder if ring buffers, use more?
A search found this from 'E', but it is for a different reason: https://www.electro-tech-online.com...ps-bmp280-hmc5983.150378/page-25#post-1316563 #484
Here's another:https://www.electro-tech-online.com/threads/pic16f877a-prevent-queuing-interrupts.153654/page-3 This one is written in C, so I can't quite follow it!
Cheers, Camerart.
I'm learning INTERRUPTS on 18LF4620 PIC and Oshonsoft.
So far I've been using linear buffers, but a couple of friends suggested ring buffers, and one of them has been helping me write CODE for Oshonsoft.
What are the pros and cons of ring buffers over linea ones? On the PIC there is a limited amount of memory, and wonder if ring buffers, use more?
A search found this from 'E', but it is for a different reason: https://www.electro-tech-online.com...ps-bmp280-hmc5983.150378/page-25#post-1316563 #484
Here's another:https://www.electro-tech-online.com/threads/pic16f877a-prevent-queuing-interrupts.153654/page-3 This one is written in C, so I can't quite follow it!
Cheers, Camerart.
Last edited: