This is an addendum to the LED control using DIP switch post, to include the schematic to the project circuit:

You might also enjoy:
This is an addendum to the LED control using DIP switch post, to include the schematic to the project circuit:

You might also enjoy:
Previous post: Arduino LED Control Using DIP Switch | Part 1
Next post: Pull Up Resistors