What is pinMode()?

PinMode() is a common function used to designate the mode of an Arduino pin. It sets whether we want to write (OUTPUT) or read from a pin (INPUT).

Related Questions