Hi Krzychb,
Are you sure is it good for me?
I will never get an element from this buffer. I always put items to this, and I need to read whole queue because it is a statistics for the last n events.
thx,
woju
Search found 2 matches
- Mon Jan 07, 2019 12:56 pm
- Forum: General Discussion
- Topic: Circular buffer implementation
- Replies: 2
- Views: 8895
- Mon Jan 07, 2019 10:05 am
- Forum: General Discussion
- Topic: Circular buffer implementation
- Replies: 2
- Views: 8895
Circular buffer implementation
Hi All,
I have a task, I need to store the last n measurement (a struct) to a queue. I think so I need a circular buffer for this. Is there a component for this in esp?
thx,
Woju
I have a task, I need to store the last n measurement (a struct) to a queue. I think so I need a circular buffer for this. Is there a component for this in esp?
thx,
Woju