dbachman,
I haven't played with lookup in a while, but according to the manual, no. I assume you're trying to set the pins on portb high and low according to the value of digit. I haven't tested this, but try something like:
I'm not sure if you need the for loop or not, depending on what you're trying to do. If this doesn't work, let me know and we can get a little more 'creative'.Code:for digit = 0 to 6 lookup digit, (4, 5, 9, 10, 6, 2, 3), portb_out portb = portb_out next digit
-Tony
Bookmarks