| | Re: circular pointer linmix
| | | I've inserted some comments, not all are questions, some are simply 'thinking aloud'. (...) So by defining SIZE here I can easily change the size of the macro without having to alter anything else in the code. Nice! (...) Right you are, I should (...) (18 years ago, 13-May-07, to lugnet.robotics)
| | | | | | | | Re: circular pointer Dennis Williamson
| | | | | In lugnet.robotics, linmix <linmix@gmail.com> wrote: [snip] (...) [snip] I would say defining SIZE changes the size of the array and thus the period of the moving average. I'm not sure how you mean "macro" in this context. [snip] (...) Yes, both (...) (18 years ago, 13-May-07, to lugnet.robotics)
| | | | | | | | | | | | Re: circular pointer linmix
| | | | | (...) I should have written: 'array' (...) OK, undefined is not the same as zero, that makes sense (in a way). I looked up how to initialise an array and according to Dave Baum's NQC Guide "The initial values for an array's elements cannot be (...) (18 years ago, 14-May-07, to lugnet.robotics)
| | | | | | |