Need to count higher than 255


Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    10

    Question Need to count higher than 255

    I am in a situation where I am controlling a stepper motor with a Pic and I need to count off up to 1900 stepps. Also I need to take the counted number of stepps and compare to another number to see which is higher or lower and subtract the difference. I guess I need to learn how to do natural math with Pics. For example: 1373 - 812 or whatever. I heard there are 'co-processors' but I dont know much about them. Does anybody have any ideas.
    Thanks in advance,
    Steve Matson
    Last edited by Steve Matson; - 2nd February 2008 at 05:48.

Similar Threads

  1. Doubling the pusle count
    By malc-c in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 17th May 2012, 13:17
  2. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  3. Can't get COUNT to count
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd March 2009, 23:14
  4. Count pulses between VARIABLE TIME
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 12:44
  5. Count command
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2005, 19:04

Members who have read this thread : 0

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