Installation & Usage
Project Info
Sets the state of the internal pull-up resistor for the selected GPIO pin.
Call this function after you assign the GPIO pin as an input. Otherwise this method has no effects.
pin (int) – Mandatory “pin” number that have to setup and can only be a well known number of: PIN1, PIN2, PIN3, or PIN4
PIN1
PIN2
PIN3
PIN4
state (int) – Mandatory “state” identifyer that have to use for the given “pin” and can only be a value of: ENABLE, or DISABLE
ENABLE
DISABLE
None
18, 19