I only need to do it once, after Power-on-Reset:
(1) The brute-force way to do this is with 8 pullup resistors and 8 I/O pins.
(2) I can do it with a shift-register, 3 I/O pins and 8 resistors?
(3) How about 9 precision resistors and a single ADC input? (this seems sketchy! ~ error-prone)
Any clever ideas on how to accomplish this task in the most minimal, and inexpensive way?
(1) The brute-force way to do this is with 8 pullup resistors and 8 I/O pins.
(2) I can do it with a shift-register, 3 I/O pins and 8 resistors?
(3) How about 9 precision resistors and a single ADC input? (this seems sketchy! ~ error-prone)
Any clever ideas on how to accomplish this task in the most minimal, and inexpensive way?

