Dan, i was guessing that the code was specifying a 16 bit integer for the
running crc. That's why i am curious.
On Jul 10, 2016 2:42 PM, "Jesper Louis Andersen" <
jesper.louis.ander...@gmail.com> wrote:
>
> On Sun, Jul 10, 2016 at 5:07 AM, wrote:
>
>> def GetFormattedHex(intNum, lenOfHexString):
On Sun, Jul 10, 2016 at 5:07 AM, wrote:
> def GetFormattedHex(intNum, lenOfHexString):
> return format(intNum, "0" + str(lenOfHexString) + "x")
>
Where do you get stuck in the translation? It looks pretty straightforward.
Build the table of constants, implement the loop in GetCrc16. Set up a tes