Simple 1 Byte Checksum Method


Results 1 to 8 of 8

Threaded View

  1. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: Simple 1 Byte Checksum Method

    would it not be easier to

    if Payload[10] -( Payload[8] + Payload[9]) > 0 then goto badckecksum

    or conversely

    Payload[10] =Payload[8] + Payload[9] to create chksum
    Last edited by richard; - 6th March 2015 at 19:34. Reason: not sure if creating or checking chksum

Similar Threads

  1. Reading a speed sensor best method?
    By davewanna in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th January 2012, 02:37
  2. Calculate Byte Value Checksum in PBP Pro
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th July 2009, 22:50
  3. ASM Addressing method help needed
    By sougata in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th January 2007, 17:01
  4. Current Calculation Method
    By DynamoBen in forum Off Topic
    Replies: 4
    Last Post: - 16th September 2006, 09:21
  5. Which is the method to use
    By dtit in forum General
    Replies: 0
    Last Post: - 18th January 2005, 09:53

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