Class GPIOOutputLine

Hierarchy

  • GPIOLineReservation
    • GPIOOutputLine

Constructors

  • Parameters

    • line: unknown
    • initialValue: BitValue
    • releaseCallback: (() => void)
        • (): void
        • Returns void

    Returns GPIOOutputLine

Properties

lastValue: BitValue
line: unknown
releaseCallback: (() => void)

Type declaration

    • (): void
    • Returns void

Methods

  • Set the value and optionally sleep afterward

    Parameters

    • value: BitValue
    • Optional uSleep: number

      (optional) number of microseconds to sleep after setting the value

    Returns void

  • Parameters

    • value: BitValue

      pulse value

    • usec: number

      pulse width in microseconds Use to generate short triggering pulses.

    Returns void

    Brief

    sets the specified value for the specified time span and then sets the opposite value

Generated using TypeDoc