Methods
-
digitalwrite(value, pin)
-
Writes HIGH (1) or LOW (0) to the given pin number.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description value
value to write to the pin
pin
pin number to write to
Code Equivalent:
digitalWrite(pin, value);
-
pininput(pin, mode)
-
Sets the given pin number to the option of input, output, or pullup.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description pin
pin number to set
mode
mode to set the pin to
Code Equivalent:
pinMode(pin, mode);