Basic Functions of Arduino
Basic Functions of Arduino Configures the specified pin to behave either as an input or an output and other basic operation. pinMode() DescriptionConfigures the specified pin to behave either as an input or an output. See the Digital Pins page for details on the functionality of the pins.As of Arduino 1.0.1, it is possible to enable the internal pullup resistors with the mode INPUT_PULLUP. Additionally, the INPUT mode explicitly disables the internal pullups.SyntaxpinMode(pin, mode)Parameterspin: the Arduino pin number to set the mode of. mode: INPUT, OUTPUT, or INPUT_PULLUP. See the Digital Pins page for...
