Function read

  • Read digital value from the given pin.

    Parameters

    • pin: number

      The pin to read from.

    Returns number

    The value of the pin (0 or 1).

Generated using TypeDoc