Which function reads the state of a digital input pin?
digitalRead()
analogRead()
digitalWrite()
analogWrite()