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
Circular buffer implementation
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Circular buffer implementation
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
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
Who is online
Users browsing this forum: No registered users and 93 guests