Thanks for the suggestion, Darrel; I'll try it, expanding to add PIN5 and value E.
Thanks for the comparison, tenaja.
Although now I wonder if I'm looking for the wrong problem. Using the o'scope, I see that each of those IF . . . THENs actually takes only about 22us; that's only 110us for all 5. Maybe it's the FOR . . . NEXT. Each time I added an IF . . . THEN, I had to reduce SOMETHING and rescale each of however many variables I was comparing.
Bookmarks