Mode

public enum Mode : UInt8

The digital input modes can change the default state (high, low or floating) of a pin by using the pull resistors.

Attention

The pins D26 to D37 are connected separately to an external 10kΩ resistor on the board. So even if they are changed to pullUp, the output voltage of these pins is still low.
  • Undocumented

    Declaration

    Swift

    case pullDown = 1
  • Undocumented

    Declaration

    Swift

    case pullUp
  • Undocumented

    Declaration

    Swift

    case pullNone