grounded, Attached is a portion of a circuit I have used in the past to preset the port for a product. All you need to do is replace the switch SW9 pin 1 or 3 with an appropriate port pin from the micro and when you want to read the 8 position dip switch just place a high level on it then read the port then place it back low.
Dave Purola,
N8NTA
Bookmarks