GPS project question


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by mjp130 View Post
    When I look at the floating point libraries I seem to get completely lost and I find it difficult to follow. Do you suggest a website or any other source where I might be able to catch up to the curve.

    Thanks for the quick reply
    Matt
    Nope, the only thing I can suggest is to 'relearn your math' (I'm not saying you can't add or anything, just rethink it)
    Break what you think is complicated down to the simplest parts you can think of and build it back up...

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    Why using float anyways??? it's just slow and bloat your code for nothing.

    Is this as this hard to figure out 12.34 is the same f thing than 1234 but with a point?

    Just an idea from an old guy so far
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    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

  4. #4
    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 : 2

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