Jump to content

Const 256 Byte Character Array

Recommended Posts

Any one familiar with the Dallas 1 Wire knows theres a 256 byte character array used for looking up the 8bit CRC. on the 18 series this is no problem but on the low end pics it fails to compile.


There is a simple piece of ASM code to acheive this, so why cant the compiler work around it. It could at least use 2 tables or use one table with one byte missing. and hard code the 1 missing byte.


for now I have to use ASM inserted code.


Mick :huh:

Edited by PIC24F
Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...