does this piece of code look ok?


Results 1 to 27 of 27

Threaded View

  1. #21
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Richardco,

    A PIC is certainly fast enough to do that,
    but you shouldn't start "recording" at a random point in the transmission of a talker if you don't want to record garbage.
    You at least should (for each talker) to sit there and wait for a "Start of String" [$]

    With a number of talkers memory may be an issue,
    but you don't really need arrays of 98 bytes per talker.
    Strip all unneeded bytes off the received sentence and just record a minimum of raw information from each talker.

    The Transmit routine adds all bells and whistles to the raw data to make it a look like an NMEA sentence again.

    i.e. for a sounder
    If your display is meters, why record feet and fathoms?
    Last edited by NavMicroSystems; - 30th November 2005 at 19:33.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 22:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 22:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 9th December 2008, 00:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 18:23

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