In the current circuit, the LEDs indicate the state on the ADC pins. Unfortunately, it is inconsistent (inverted) with what I have on the outputs of IC7. I would like to change it as simply as possible. The solution may be to change the position of the LEDs – then the ADC will not sink current, but the source current. The question is, if I do not exceed 1-2mA per pin, the ADC operation will not be disturbed and not overloaded. Datasheet says Isource / Output Source Current / design limt = -6mA. enter image description here