Need to convert C to PBP


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Location
    Venezuela
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: Need to convert C to PBP

    hi timmers, you example is for calculate cyclic redundancy check (CRC16). look here two example one using Vb6 the another one with PBP. i use both

    http://www.picbasic.co.uk/forum/showthread.php?t=16735

    here explain how to that:

    http://en.wikipedia.org/wiki/Computation_of_CRC

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Need to convert C to PBP

    I am still struggling to learn C myself so what I say here MAY BE TOTALLY INCORRECT.

    const u16 crc_16_table[0x100]

    const u16 = dataType , crc_16_table = varName, [0x100] = startMemLocation, & this can be put into program memory with PROGMEM command at least in arduino.
    HTH
    Last edited by Archangel; - 6th August 2012 at 06:51.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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