Arduino boards can most definitely help with ... pinMode() - Assigns a pin as either an INPUT, OUTPUT, or INPUT_PULLUP. digitalRead() - Reads the output (HIGH or LOW) of a digital pin.