count more 65536


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Posts
    23

    Default count more 65536

    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

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    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.

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  2. Can't get COUNT to count
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd March 2009, 23:14
  3. Multiplex Display with count comand
    By mdaweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th October 2005, 04:09
  4. Count command
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2005, 19:04
  5. Timer overflows and interrupts
    By barkerben in forum General
    Replies: 10
    Last Post: - 18th December 2004, 01:42

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts