electronics - How to check if all pins are connected on my board to make sure Arduino sends the correct pattern number on my tool - Arduino Stack Exchange
The Basics of Arduino: Reading Switch States
Getting Started with Input Output Devices on Arduino
serial - Reading states of multiple toggle switches - Arduino Stack Exchange
Using Arduino Interrupts - Hardware, Pin Change and Timer
Tutorial 07: digitalRead() and Serial Port Communication - Programming Electronics Academy