Hi, How to read a 8 way dip sw with uC using minimum number of i/o pins and without using any ic.
tia