GPS project question


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    3

    Default

    When I try to shift everything I run into a overflow problem -- I have to square the solution to calculate the distance so the multiplication can only exceed #188. Is there any way to make a variable greater than word (16bits)? Or how would I make a new variable which takes over after 65k?

    Thanks

  2. #2
    Join Date
    Jun 2007
    Posts
    24

    Default Div32

    Hi,

    Have a look at the DIV32 Maths operator. This may help.

Similar Threads

  1. GPS $GPRMC to PIC16F684. Need help with SERIN2
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th November 2009, 09:47
  2. Replies: 1
    Last Post: - 27th July 2008, 06:14
  3. GPS clock timing !
    By bethr in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 3rd July 2008, 20:11
  4. Pic GPS project Demo
    By Art in forum GPS
    Replies: 0
    Last Post: - 28th October 2007, 03:05
  5. gps project
    By chuckad in forum GPS
    Replies: 2
    Last Post: - 9th February 2007, 02:52

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