Options
All
  • Public
  • Public/Protected
  • All
Menu

An implementation of a heartbeat (LED) GPIO. A heartbeat LED will be pulsed regularly to indicate that a program is still running.

Hierarchy

  • HeartbeatLED

Index

Constructors

Accessors

Methods

Constructors

  • Constructs a new heartbeat LED.

    Parameters

    • pin: number

      The GPIO pin to which the LED is connected.

    Returns HeartbeatLED

Accessors

  • get pin(): number
  • GPIO pin to which the heartbeat LED is connected.

    Returns number

Methods

  • start(): void
  • Starts the heartbeat.

    Returns void

  • stop(): void
  • Stops the heartbeat.

    Returns void

Generated using TypeDoc