PDA

View Full Version : count more 65536



debutpic
- 10th January 2007, 19:56
Hello all

I must measure a position with a scale glass from 0 to 750 mm resolution
of 0,01 mm how to make word variable support 65536 bit max ?

Thank's

mat janssen
- 10th January 2007, 20:59
Take an extra byte or word, and if the first counter makes an overflow than add 1 at that counter !
In the status register you can find the overflow.