The holy manual says "Up to 255 (1024 for pic18fxxx) constants are allowed in the list" thats for Lookup.
Lookup2 it states "Up to 85(1024 for pic18fxxx) values are allowed in the list"
So, I guess it depends on what pic you are using 18f or 16f?
The holy manual says "Up to 255 (1024 for pic18fxxx) constants are allowed in the list" thats for Lookup.
Lookup2 it states "Up to 85(1024 for pic18fxxx) values are allowed in the list"
So, I guess it depends on what pic you are using 18f or 16f?
I saw that also, after creating my LOOKUP2 table, but I'm using the new 16F1827, and the compiler didn't start balking until I got over 255 or 256 words (can't remember which).
I whittled the table down to 253 words, and it's compiling fine. I figured there'd been an "undocumented capacity update" since the manual was last printed.
I haven't yet down loaded any code to the device so we will see what happens then.
Bookmarks