Still not right
Near as I can figure:
Is the same as this:
And cycling through all switch settings, I do not get “segment” B lit >9 (as expected).
Need to check the coding again. Unless I duffed it and missed a coding problem the only thing after that is compiler error.