Is there any limit to how high the controller can count?
I’m working on a system that will end up counting probably closer to 2000, but im wondering if its going to cut me off at 255 or anything. Anyone know?
Thank you.
Is there any limit to how high the controller can count?
I’m working on a system that will end up counting probably closer to 2000, but im wondering if its going to cut me off at 255 or anything. Anyone know?
Thank you.
It’s possible to count up to 65536 numbers (range from 0 - 65535) if you use a word. A word is 16 bits so you get up to 2^16 numbers.
Technically all you need are 11 bits, that will get you 2048 numbers. If you’re hurting for space you can use a byte and a nibble and do some creative incrementing.
If you want to know more just say so, a lot of people here can help.