i did spot a flaw in my example code.
i did spot a flaw in my example code. do you see it also? 🤦🏽♂️
5 Replies
hmmm.... thought something was off with the
index
but ran through it in my head & it seemed fine
ah... overflow 😉
it should be fine on an UNO 😉yeh, I forget users use esp's and other boards that have way larger values. 😄
but you did code it for 10 samples only so it is fine as written 😄
would it be a double double ? or what would you recomend?
I'd imagine
uint16_t
wouldn't hurt unless they have hundreds of samples