Hi Mark,
You can tweak the macros if you want, but I don't recommend it unless you're as good as Darrel...
The 85 limit is because the compiler generates 3 table entries per list value. 3 x 85 = 255, which is the largest number that fits in the W register.
It would be easier to just use three lookup2 tables with a select case to jump to the appropriate lookup2 routine.
Bookmarks