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 valuevalue to write to the pin
pinpin 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 pinpin number to set
modemode to set the pin to
Code Equivalent:
pinMode(pin, mode);