Skip to main content
7 events
when toggle format what by license comment
Sep 25, 2015 at 10:44 vote accept orkes
Sep 25, 2015 at 10:44 comment added orkes Thank you both for your comments and suggestions! I'll give it a try.
Sep 24, 2015 at 21:46 comment added Majenko Yep. The .get(n) method lets you access any raw entry in the circular buffer you like. There's also a Least Squares function, and one that uses that function to predict the value at some finite point in the future. I use it to control the heaters in my reflow oven to prevent overshoot.
Sep 24, 2015 at 21:45 comment added Nick Gammon I presume you can always query the current contents of the window at any time. Thus a simple set of tests would let you conduct any custom queries you want.
Sep 24, 2015 at 17:00 comment added Majenko The number of variables depends on the type of variable and how much space each entry takes up. I am always open to suggestions for enhancements to my libraries.
Sep 24, 2015 at 16:44 comment added orkes Thanks for your reply! A few more questions. Given that I am running your code on Arduino Yun, am I right that the maximum number of elements I can store in the rolling set is limited to 2.5k (which is the size of RAM of ATmega32u4, where variables are stored)? Also, are you still working on your library? Any plans to further extend it with features I mentioned at the bottom of my previous post (e.g. querying sequences and patterns)? Thanks!
Sep 24, 2015 at 14:31 history answered Majenko CC BY-SA 3.0