![]() |
Count Limits?
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. |
word = 65536
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. |
| All times are GMT -5. The time now is 08:18. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi